summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-06-26 16:14:30 (GMT)
committerGitHub <noreply@github.com>2019-06-26 16:14:30 (GMT)
commit63429c839b19c6fe604deddcb12497443ca01a9a (patch)
tree0ef92a5da0d60cce3f576b0b47f5fd68ce9b6427 /Python/pythonrun.c
parentdd4edbc5ad4cdb47e051e7cc0801d31d3786588b (diff)
downloadcpython-63429c839b19c6fe604deddcb12497443ca01a9a.zip
cpython-63429c839b19c6fe604deddcb12497443ca01a9a.tar.gz
cpython-63429c839b19c6fe604deddcb12497443ca01a9a.tar.bz2
bpo-37412: os.getcwdb() now uses UTF-8 on Windows (GH-14396)
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. (cherry picked from commit 689830ee6243126798a6c519c05aa11ba73db7cd) Co-authored-by: Victor Stinner <vstinner@redhat.com>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions