STINNER Victor added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue31339> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com