[issue26745] Redundant code in _PyObject_GenericSetAttrWithDict

Martin Panter report at bugs.python.org
Fri Apr 15 01:30:19 EDT 2016


Martin Panter added the comment:

This code mirrors code in the Get function, but that function inspects tp_descr_get (not set) instead. As I understand it, this is the difference between “data” descriptors and “non-data” descriptors. So I think the change is okay.

----------
nosy: +martin.panter
stage:  -> patch review

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


More information about the Python-bugs-list mailing list