Message241709
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 (http://austingroupbugs.net/view.php?id=879). 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:58 | Erik Cederstrand | set | recipients:
+ Erik Cederstrand, tim.peters, belopolsky, r.david.murray, BreamoreBoy, Erik.Cederstrand, AaronR, aganders3, berker.peksag, serhiy.storchaka, Alex.Willmer |
2015-04-21 09:11:58 | Erik Cederstrand | set | messageid: <1429607518.58.0.22878434647.issue12006@psf.upfronthosting.co.za> |
2015-04-21 09:11:58 | Erik Cederstrand | link | issue12006 messages |
2015-04-21 09:11:58 | Erik Cederstrand | create | |
|