This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients Esben.Agerbæk.Black, belopolsky, lemburg, pitrou, vstinner
Date 2012-04-09.21:50:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334008213.67.0.732587422156.issue14423@psf.upfronthosting.co.za>
In-reply-to
Content
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)
make_date(year=2000, isoday=63)
etc.
History
Date User Action Args
2012-04-09 21:50:13belopolskysetrecipients: + belopolsky, lemburg, pitrou, vstinner, Esben.Agerbæk.Black
2012-04-09 21:50:13belopolskysetmessageid: <1334008213.67.0.732587422156.issue14423@psf.upfronthosting.co.za>
2012-04-09 21:50:13belopolskylinkissue14423 messages
2012-04-09 21:50:12belopolskycreate