Message257383
At the bottom of <https://docs.python.org/dev/library/time.html#time.strftime> it suggests that this four-digit field width specifier is not portable. Does that also hold for the datetime version? It seems like a bad idea to recommend an unportable workaround for a portability problem.
Also, in the patch it is not clear if you are referring to strptime(), strftime(), or both. On Linux, datetime.strptime(..., "%4Y") fails for me. |
|
Date |
User |
Action |
Args |
2016-01-02 22:55:38 | martin.panter | set | recipients:
+ martin.panter, belopolsky, vstinner, ezio.melotti, flox, docs@python, python-dev |
2016-01-02 22:55:38 | martin.panter | set | messageid: <1451775338.69.0.688440701936.issue13305@psf.upfronthosting.co.za> |
2016-01-02 22:55:38 | martin.panter | link | issue13305 messages |
2016-01-02 22:55:38 | martin.panter | create | |
|