Author vstinner
Recipients christian.heimes, pitrou, serhiy.storchaka, vstinner
Date 2017-09-04.21:17:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504559826.22.0.0839098366671.issue31339@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-09-04 21:17:06vstinnersetrecipients: + vstinner, pitrou, christian.heimes, serhiy.storchaka
2017-09-04 21:17:06vstinnersetmessageid: <1504559826.22.0.0839098366671.issue31339@psf.upfronthosting.co.za>
2017-09-04 21:17:06vstinnerlinkissue31339 messages
2017-09-04 21:17:06vstinnercreate