[issue14423] Getting the starting date of iso week from a week number and a year.
report at bugs.python.org
Mon Apr 9 23:50:13 CEST 2012
Alexander Belopolsky <alexander.belopolsky at gmail.com> added the comment:
Before you invest in a C version, let's discuss whether this feature is desirable. The proposed function implements a very simple and not very common calculation. Note that even dateutil does not provide direct support for this: you are instructed to use relativedelta to add weeks to January 1st of the given year.
If we are going to add yet another way to construct dates, I would like to consider some universal solution. For example, a "make_date" function that would behave similar to the timedelta constructor: take a large number of keyword arguments and return a date. For example,
make_date(year=2000, isoweek=5, weekday=3)
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list