• Victor Stinner's avatar
    bpo-37412: os.getcwdb() now uses UTF-8 on Windows (GH-14396) · 689830ee
    Victor Stinner authored
    The os.getcwdb() function now uses the UTF-8 encoding on Windows,
    rather than the ANSI code page: see PEP 529 for the rationale. The
    function is no longer deprecated on Windows.
    
    os.getcwd() and os.getcwdb() now detect integer overflow on memory
    allocations. On Unix, these functions properly report MemoryError on
    memory allocation failure.
    689830ee
2019-06-26-16-28-59.bpo-37412.lx0VjC.rst 187 Bytes