[issue24416] Have date.isocalendar() return a structseq instance
Raymond Hettinger
report at bugs.python.org
Fri Sep 13 13:12:39 EDT 2019
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
It's okay for the pure python equivalent to use collections.namedtuple so long as the C code uses structseq. As Serhiy points out, there is no need to reinvent the wheel.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue24416>
_______________________________________
More information about the Python-bugs-list
mailing list