[issue24416] Have date.isocalendar() return a structseq instance
Raymond Hettinger
report at bugs.python.org
Sun Sep 1 16:05:01 EDT 2019
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
Why close this? Having isocalendar() return a structseq instance would be a nice improvement. It is what structseq was designed for.
Dong-hee Na, if you want to make a fresh PR for this and bring it to fruition, I would be happy to review and apply it.
I'm changing the title to structseq. It was a distractor to mention collections.namedtuple() at all -- that would have been more appropriate for pure python code.
----------
assignee: belopolsky -> rhettinger
title: Return a namedtuple from date.isocalendar() -> Have date.isocalendar() return a structseq instance
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue24416>
_______________________________________
More information about the Python-bugs-list
mailing list