Message301264
Ok, there are 3 choices:
* Do nothing: musl crash on year > 9999, glibc supports year > 9999, behaviour is likely undefined on other libc
* PR 3296: Reject year > 9999 on all platforms: can be seen as a Python 2.7 regression when running with glibc
* PR 3293: Reimplement time.asctime() and time.ctime() to not depend on the libc anymore, as done in Python 3
My favorite option is now "PR 3293: Reimplement time.asctime()". Yeah, there is a risk of getting a behaviour change on funky libc with funky values, but IMHO it's worth it. |
|
Date |
User |
Action |
Args |
2017-09-04 21:17:06 | vstinner | set | recipients:
+ vstinner, pitrou, christian.heimes, serhiy.storchaka |
2017-09-04 21:17:06 | vstinner | set | messageid: <1504559826.22.0.0839098366671.issue31339@psf.upfronthosting.co.za> |
2017-09-04 21:17:06 | vstinner | link | issue31339 messages |
2017-09-04 21:17:06 | vstinner | create | |
|