[issue17421] Drop restriction that meta.__prepare__() must return a dict (subclass)

Serhiy Storchaka report at bugs.python.org
Tue Sep 26 03:50:01 EDT 2017


Serhiy Storchaka added the comment:

> Are you sure that non-dicts work fine?

They don't. See issue31588.

----------
dependencies: +SystemError in class creation in case of a metaclass with a bad __prepare__() method
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list