summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-06-26 17:31:12 +0200
committerGitHub <noreply@github.com>2019-06-26 17:31:12 +0200
commit689830ee6243126798a6c519c05aa11ba73db7cd (patch)
tree165d26fd54d4853988429c3731234cba84c6ce68 /Python/sysmodule.c
parentc6a2320e876354ee62cf8149b849bcff9492d38a (diff)
downloadcpython-git-689830ee6243126798a6c519c05aa11ba73db7cd.tar.gz
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.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions