Martin Teichmann added the comment: This is the originial patch rebased such that it applies to the current master.
As a detail in the discussion: "__classcell__" is not visible during the execution of the class body, as it is added at the end of the class body. In this regard, it is different from "__qualname__", which is set at the beginning of the class body such that it may be changed. The new __classcell__ does show up, however, in the namespace parameter to the __new__ method of the metaclass. ---------- Added file: http://bugs.python.org/file44533/classcell.patch _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue23722> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
