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 daniel.urban
Recipients Arfrever, daniel.urban, ezio.melotti, flox, jcea, ncoghlan
Date 2013-03-13.17:08:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I've looked into implementing the changes in the new version of the PEP. It seems, that currently type.__new__ copies the dict returned by __prepare__ ( I think this means that some of the new examples wouldn't work ("Order preserving classes" and "Extending a class"). It also means, that currently it is impossible for two classes to share a namespace object (possibly this was the intention of copying the dict). So the "Note" in the PEP wouldn't be necessary (unless type.__new__ were modified).

I'm not sure if the PEP proposes to change this behavior of type.__new__ or not...
Date User Action Args
2013-03-13 17:08:17daniel.urbansetrecipients: + daniel.urban, jcea, ncoghlan, ezio.melotti, Arfrever, flox
2013-03-13 17:08:17daniel.urbansetmessageid: <>
2013-03-13 17:08:17daniel.urbanlinkissue17044 messages
2013-03-13 17:08:16daniel.urbancreate