[issue20786] inspect.getargspec() returns wrong answer with property.__delete__()

mike bayer report at bugs.python.org
Wed Feb 26 23:14:32 CET 2014


mike bayer added the comment:

for context, we are currently creating wrappers around these methods in SQLAlchemy, and in the case of property dunders, we expect that exception and catch it.   So when the exception doesn't happen, we assume the answer is correct, but in this case it's not - the answer getargspec() gives us cannot be used to create a correct wrapper unless there's some other detail I'm missing.   hence this is backwards incompatible.

----------

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


More information about the Python-bugs-list mailing list