[issue4285] Use a named tuple for sys.version_info
Christian Heimes
report at bugs.python.org
Sun Nov 9 18:35:05 CET 2008
Christian Heimes <lists at cheimes.de> added the comment:
I concur that bootstrapping may be a problem. Using a NamedTuple also
increases the number of loaded modules by 4 (_collections.so, keyword.py
and operator.so).
But we could reimplement it with a PyStructSequence like I did for
sys.float_info. It's straight forward and easy to implement with the
example code in Object/floatobject.c:PyFloat_GetInfo().
----------
nosy: +christian.heimes
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4285>
_______________________________________
More information about the Python-bugs-list
mailing list