[issue24416] Return a namedtuple from date.isocalendar()

Paul Ganssle report at bugs.python.org
Sun Sep 1 09:51:42 EDT 2019


Paul Ganssle <p.ganssle at gmail.com> added the comment:

Sorry for the late response after a patch, but I'm actually -1 on this patch. I don't think it buys us very much in terms of the API considering it only has 3 parameters, and it adds some complexity to the code (in addition to the performance issue). Honestly, I think the main reason we didn't go with positional-only parameters in `fromisocalendar` was that the "/" syntax didn't exist yet.

----------
nosy: +p-ganssle

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue24416>
_______________________________________


More information about the Python-bugs-list mailing list