[New-bugs-announce] [issue24416] Return a namedtuple from date.isocalendar()

Baptiste Mispelon report at bugs.python.org
Tue Jun 9 14:37:20 CEST 2015


New submission from Baptiste Mispelon:

Currently, `date.isocalendar()` returns a plain tuple of (year, week, weekday).

It would be a bit more useful if this tuple could be made into a namedtuple (with fields year, week and weekday).

----------
components: Library (Lib)
messages: 245061
nosy: bmispelon
priority: normal
severity: normal
status: open
title: Return a namedtuple from date.isocalendar()
versions: Python 3.6

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


More information about the New-bugs-announce mailing list