Roundup Robot added the comment:
New changeset 7ad0e19cc682 by Yury Selivanov in branch '3.4':
Issue #20786: Fix signatures for dict.__delitem__ and property.__delete__
http://hg.python.org/cpython/rev/7ad0e19cc682
--
___
Python tracker
mike bayer added the comment:
see also http://bugs.python.org/issue20828 as it seems like there might be a
bigger pattern here (not sure).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20786
Roundup Robot added the comment:
New changeset c9861ec8754c by Yury Selivanov in branch 'default':
Issue #20786: Fix signatures for dict.__delitem__ and property.__delete__
http://hg.python.org/cpython/rev/c9861ec8754c
--
nosy: +python-dev
___
Python
Changes by Yury Selivanov yselivanov...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20786
___
Yury Selivanov added the comment:
Mike, this is now fixed. I've created an issue for tracking of getting this fix
in 3.4.0: #20829.
Thanks for finding this bug!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20786
Yury Selivanov added the comment:
Larry, Nick, what do you think?
I'd like this to be fixed in 3.4.0...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20786
___
New submission from mike bayer:
The Python builtin property() historically does not allow inspect.getargspec to
be called on any of __get__(), __set__(), or __delete__(). As of 3.4, it seems
that this call now succeeds. However the answer it gives for __delete__()
seems to be incorrect.
Changes by mike bayer mike...@zzzcomputing.com:
--
components: +Library (Lib)
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20786
___
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 -
Changes by Yury Selivanov yselivanov...@gmail.com:
--
nosy: +larry, ncoghlan, yselivanov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20786
___
Yury Selivanov added the comment:
Larry, I think the problem is that
property.__delete__.__text_signature__
'(instance, /)'
but should be something like '($self, instance, /)'.
What do you think?
--
___
Python tracker
Changes by Yury Selivanov yselivanov...@gmail.com:
--
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20786
___
12 matches
Mail list logo