• Tim Peters's avatar
    _PySys_Init(): It's rarely a good idea to size a buffer to the · 02f1d0dc
    Tim Peters yazdı
    exact maximum size someone guesses is needed.  In this case, if
    we're really worried about extreme integers, then "cp%d" can
    actually need 14 bytes (2 for "cp" + 1 for \0 at the end +
    11 for -(2**31-1)).  So reserve 128 bytes instead -- nothing is
    actually saved by making a stack-local buffer tiny.
    02f1d0dc
sysmodule.c 37.7 KB