#18379: sensitive_variables handling fails for methods
-------------------------------+-----------------------------------------
Reporter: gabrielhurley | Owner: gabrielhurley
Type: Bug | Status: new
Component: Core (Other) | Version: 1.4
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+-----------------------------------------
Changes (by gabrielhurley):
* owner: nobody => gabrielhurley
Comment:
It looks like checking to see if `func` is `None`, and then inspecting
`f_locals` for `"self"` is a viable option to get at the decorated method,
but I'm not 100% sure it's the best approach. Frame objects are painful.
That solution would look something like this:
https://github.com/gabrielhurley/django/compare/sensitive_variables_for_methods
--
Ticket URL: <https://code.djangoproject.com/ticket/18379#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.