Author hynek
Recipients Martin.Morrison, belopolsky, hynek, swalker, vstinner
Date 2012-04-13.12:46:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334321207.36.0.981701575629.issue14157@psf.upfronthosting.co.za>
In-reply-to
Content
The point isn’t that time.strptime validates dates but that it uses datetime internally:

julian = datetime_date(year, month, day).toordinal() - \
                      datetime_date(year, 1, 1).toordinal() + 1

Is it worth to reimplement this functionality?  It strikes easier to me to just use a different year if year is undefined and date == Feb 29.
History
Date User Action Args
2012-04-13 12:46:47hyneksetrecipients: + hynek, belopolsky, vstinner, swalker, Martin.Morrison
2012-04-13 12:46:47hyneksetmessageid: <1334321207.36.0.981701575629.issue14157@psf.upfronthosting.co.za>
2012-04-13 12:46:46hyneklinkissue14157 messages
2012-04-13 12:46:46hynekcreate