[issue13290] get vars for object with __slots__

Serhiy Storchaka report at bugs.python.org
Wed Oct 3 10:31:17 CEST 2012


Serhiy Storchaka added the comment:

There's another thing. __slots__ value is converted to a tuple and saved as ht_slots field in PyHeapTypeObject. You can use fast PyTuple_GET_ITEM() for item access.

----------

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


More information about the Python-bugs-list mailing list