diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-09-05 23:35:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-05 23:35:39 (GMT) |
commit | eeadf5fc231163ec97a8010754d9c995c7c14876 (patch) | |
tree | afe81189ae2a1e087dbbee68b67d63e5066c6697 /Python/getcompiler.c | |
parent | 8905fb831cf7c400c479b79bb2f90bfbe9c71337 (diff) | |
download | cpython-eeadf5fc231163ec97a8010754d9c995c7c14876.zip cpython-eeadf5fc231163ec97a8010754d9c995c7c14876.tar.gz cpython-eeadf5fc231163ec97a8010754d9c995c7c14876.tar.bz2 |
bpo-31339: Rewrite time.asctime() and time.ctime() (#3293)
* bpo-31339: Rewrite time.asctime() and time.ctime()
Backport and adapt the _asctime() function from the master branch to
not depend on the implementation of asctime() and ctime() from the
external C library. This change fixes a bug when Python is run using
the musl C library.
* bound checks for time.asctime()
* bound checks for time.strftime()
Diffstat (limited to 'Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions