| Age | Commit message (Collapse) | Author |
|
As Python 3.12 is now the floor, we can drop the shims and
use the `inspect` module.
|
|
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
|
|
decorators crash with .pyc-only builds.
Thanks Jon Janzen for the implementation idea.
Thanks Marcus Hoffmann for the report.
Regression in 38e391e95fe5258bc6d2467332dc9cd44ce6ba52.
|
|
Follow up to 38e391e95fe5258bc6d2467332dc9cd44ce6ba52.
|
|
decorators to work with async functions.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
functions."
This reverts commits 23cbed21876bf02f4600c0dac3a5277db5b2afbb and
203a15cadbf8d03b51df1b28d89b2e7ab4264973.
|
|
|
|
@wraps is 10 times more common than @functools.wraps. Standardize to
the most common version.
|
|
|
|
"assert" in various code.
|
|
Django will raise an error if you forget to call the decorator.
|
|
|
|
|
|
Thanks Collin Anderson for the report.
|
|
obfuscated in the @sensitive_variables decorator's frame, in case the variables associated with those arguments were meant to be obfuscated from the decorated function's frame.
Thanks to vzima for the report.
|
|
|
|
This adds a flexible mechanism for filtering what request/traceback
information is shown in 500 error emails and logs. It also applies
screening to some views known to be sensitive e.g. views that handle
passwords.
Thanks to oaylanc for the report and many thanks to Julien Phalip for the
patch and the rest of the work on this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|