Author Erik Cederstrand
Recipients AaronR, Alex.Willmer, BreamoreBoy, Erik Cederstrand, Erik.Cederstrand, aganders3, belopolsky, berker.peksag, r.david.murray, serhiy.storchaka, tim.peters
Date 2015-04-21.09:11:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I think POLA would be to raise ValueError on time.strptime('2015', '%G') and other situations that don't make sense or are ambiguous.

That, or reproduce the bugs that the native OS strptime() implementation has. I got the %G, %V, and %u directives accepted for the next POSIX spec ( But it will be years before operating systems catch up, so I would opt for the ValueError approach instead.
Date User Action Args
2015-04-21 09:11:58Erik Cederstrandsetrecipients: + Erik Cederstrand, tim.peters, belopolsky, r.david.murray, BreamoreBoy, Erik.Cederstrand, AaronR, aganders3, berker.peksag, serhiy.storchaka, Alex.Willmer
2015-04-21 09:11:58Erik Cederstrandsetmessageid: <>
2015-04-21 09:11:58Erik Cederstrandlinkissue12006 messages
2015-04-21 09:11:58Erik Cederstrandcreate