This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients NeilGirdhar, docs@python, ncoghlan
Date 2016-10-15.08:01:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1476518489.44.0.425203542437.issue28437@psf.upfronthosting.co.za>
In-reply-to
Content
(I'll also note that my final comment there is rather different from my first draft, as I almost forgot myself that the namespace preparation logic lives in __build_class__ rather than type_new. Class definitions can actually bypass type entirely, even in Python 3:

>>> def the_one_class(*args):
...     return 1
... 
>>> class TheOne(metaclass=the_one_class): pass
... 
>>> TheOne
1
History
Date User Action Args
2016-10-15 08:01:29ncoghlansetrecipients: + ncoghlan, docs@python, NeilGirdhar
2016-10-15 08:01:29ncoghlansetmessageid: <1476518489.44.0.425203542437.issue28437@psf.upfronthosting.co.za>
2016-10-15 08:01:29ncoghlanlinkissue28437 messages
2016-10-15 08:01:29ncoghlancreate