[issue14673] add sys.implementation
Eric Snow
report at bugs.python.org
Fri Jun 1 06:10:21 CEST 2012
Eric Snow <ericsnowcurrently at 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 <report at bugs.python.org>
<http://bugs.python.org/issue14673>
_______________________________________
More information about the Python-bugs-list
mailing list