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 eric.snow
Recipients Arfrever, christian.heimes, eric.snow, r.david.murray
Date 2012-10-10.05:04:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349845472.19.0.526443411426.issue16160@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a patch that fixes subclass support.  It was supposed to work in the first place.  Guess I had tunnel vision at the time.

The fix is essentially a copy of the code in dict_new() in Objects/dictobject.c.  I left out the part about releasing GC if the type is not a subclass.

Note: see #15022, #15004, and #15003 for other things SimpleNamespace is missing.  I can get those done if it would be meaningful to you.
History
Date User Action Args
2012-10-10 05:04:32eric.snowsetrecipients: + eric.snow, christian.heimes, Arfrever, r.david.murray
2012-10-10 05:04:32eric.snowsetmessageid: <1349845472.19.0.526443411426.issue16160@psf.upfronthosting.co.za>
2012-10-10 05:04:32eric.snowlinkissue16160 messages
2012-10-10 05:04:31eric.snowcreate