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, barry, brett.cannon, eric.araujo, eric.snow, loewis, ncoghlan
Date 2012-06-01.04:10:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338523821.53.0.0562582374601.issue14673@psf.upfronthosting.co.za>
In-reply-to
Content
This patch incorporates types.SimpleNamespace and makes the repr show all attributes.  Tests and docs for types.SimpleNamespace are also included.

The patch skips 3 tests (which I added) that are failing.  One has a segfault due to a recursive repr (where I had a hunch that something funny would happen).  One is a situation that I mentioned earlier in this ticket.  However, the third one was entiredly unexpected.

None of these pathologies impact sys.implementation.  I will be working on fixing them regardless.  If you want to wait until I fix the corner cases, I'm fine with that.  However, the patch should be good to go as far as sys.implementation is concerned.
History
Date User Action Args
2012-06-01 04:10:22eric.snowsetrecipients: + eric.snow, loewis, barry, brett.cannon, ncoghlan, eric.araujo, Arfrever
2012-06-01 04:10:21eric.snowsetmessageid: <1338523821.53.0.0562582374601.issue14673@psf.upfronthosting.co.za>
2012-06-01 04:10:20eric.snowlinkissue14673 messages
2012-06-01 04:10:20eric.snowcreate