[issue27505] Missing documentation for setting module __class__ attribute

Nick Coghlan report at bugs.python.org
Sat Dec 9 19:41:24 EST 2017


Nick Coghlan <ncoghlan at gmail.com> added the comment:

This is still a valid docs issue, although PEP 562's module __getattr__ and __dir__ will provide a simpler alternative for most of the cases that previously required setting the __class__ attribute: https://www.python.org/dev/peps/pep-0562/

So I've added https://bugs.python.org/issue32225 as a dependency for this issue, as it will likely make sense to figure out a good docs structure for those changes first, and then see if there's any work left to do specifically for this issue: https://bugs.python.org/issue32225#msg307935

Issue #24991 is a fairly different topic - I've added an extra comment there that should help clarify the actual question/proposal.

----------
dependencies: +Implement PEP 562: module __getattr__ and __dir__

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27505>
_______________________________________


More information about the Python-bugs-list mailing list