• Victor Stinner's avatar
    bpo-31339: Rewrite time.asctime() and time.ctime() (#3293) · eeadf5fc
    Victor Stinner authored
    * 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()
    eeadf5fc
2017-09-04-21-24-51.bpo-31339.YSczZN.rst 266 Bytes