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 donovick
Recipients daniel.urban, donovick, eric.snow, loewis, ncoghlan, serhiy.storchaka, vstinner
Date 2019-03-12.22:17:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In my mind this seems like a bug. PEP 3115 states:
__prepare__ returns a dictionary-like object which is used to store the class member definitions during evaluation of the class body. In other words, the class body is evaluated as a function block (just like it is now), except that the local variables dictionary is replaced by the dictionary returned from __prepare__. This dictionary object can be a regular dictionary or a custom mapping type.
Date User Action Args
2019-03-12 22:17:10donovicksetrecipients: + donovick, loewis, ncoghlan, vstinner, daniel.urban, eric.snow, serhiy.storchaka
2019-03-12 22:17:10donovicksetmessageid: <>
2019-03-12 22:17:10donovicklinkissue17421 messages
2019-03-12 22:17:10donovickcreate