Message278706
(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 |
|
Date |
User |
Action |
Args |
2016-10-15 08:01:29 | ncoghlan | set | recipients:
+ ncoghlan, docs@python, NeilGirdhar |
2016-10-15 08:01:29 | ncoghlan | set | messageid: <1476518489.44.0.425203542437.issue28437@psf.upfronthosting.co.za> |
2016-10-15 08:01:29 | ncoghlan | link | issue28437 messages |
2016-10-15 08:01:29 | ncoghlan | create | |
|