David Halter <davidhalte...@gmail.com> added the comment:

This is not a duplicate. It is related to https://bugs.python.org/issue26103, 
because __get__ is not required anymore for an object to be a data descriptor. 
The current code on master (of inspect.getattr_static) still thinks a 
descriptor has both __get__ and __set__ set.

Since issue #26103 has been fixed, it's now clear that my patch is slightly 
wrong, but I'm happy to fix that if someone is actually going to review it.

----------
resolution: duplicate -> 
status: closed -> open
versions: +Python 3.10, Python 3.11, Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31184>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to