Skip to content

Latest commit

 

History

History
4 lines (4 loc) · 276 Bytes

File metadata and controls

4 lines (4 loc) · 276 Bytes

Fix a regression where attribute access on a :class:`types.ModuleType` subclass could bypass a data descriptor defined on the subclass. The LOAD_ATTR_MODULE specialization guarded on tp_getattro, which subclasses inherit, and then read the module dictionary directly.