[issue11133] inspect.getattr_static code execution
report at bugs.python.org
Sun Feb 20 18:52:26 CET 2011
Andreas Stührk <andy-python at hammerhartes.de> added the comment:
Attached is a patch that fixes the issue: The dict methods are now used directly and before every access to an instance's "__dict__" attribute, it is checked that that attribute is really the instance's attribute and not a class attribute of the instance's type.
Added file: http://bugs.python.org/file20811/inspect_issue_11133.patch
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list