[issue15118] uname and other os functions should return a struct sequence instead of a tuple
Terry J. Reedy
report at bugs.python.org
Sat Jun 23 09:10:15 CEST 2012
Terry J. Reedy <tjreedy at udel.edu> added the comment:
(OT, but since you brought it up: In my opinion, deprecating the iterability of any builtin class is a horrible idea. It is a Python feature, especially in 3.x, that all *are* iterable. However, I would agree that named tuples should be iterable by name-object pairs, just like dicts. Position is not the real key.)
----------
nosy: +terry.reedy
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15118>
_______________________________________
More information about the Python-bugs-list
mailing list