Eric Snow <ericsnowcurren...@gmail.com> added the comment:

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.

----------
Added file: http://bugs.python.org/file25779/issue14673_full.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14673>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to