[issue24416] Have date.isocalendar() return a structseq instance
Raymond Hettinger
report at bugs.python.org
Mon Sep 2 20:33:26 EDT 2019
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
FWIW, most things in Python that return a structseq previously returned a tuple (for example, time.localtime() and sys.version_info).
This is not an unprecedented upgrade to improve the repr and provide access by field name in addition to positional access.
----------
nosy: +tim.peters
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue24416>
_______________________________________
More information about the Python-bugs-list
mailing list