[issue11133] inspect.getattr_static code execution

Andreas Stührk 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.

----------
keywords: +patch
nosy: +Trundle
Added file: http://bugs.python.org/file20811/inspect_issue_11133.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11133>
_______________________________________


More information about the Python-bugs-list mailing list