Staging
v0.8.1
https://github.com/python/cpython
Revision bf15d5b775c31e65584926998ff141edc75226d4 authored by Eric Wieser on 10 February 2020, 23:32:18 UTC, committed by GitHub on 10 February 2020, 23:32:18 UTC


From the source for `PyUnicode_Decode`, the implementation is:
```
if (encoding == NULL) {
    return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
}
```
which is pretty clearly not defaulting to ASCII.

---

I assume this needs neither a news entry nor bpo link.
1 parent 95d024d
History
Tip revision: bf15d5b775c31e65584926998ff141edc75226d4 authored by Eric Wieser on 10 February 2020, 23:32:18 UTC
Correct the documented default encoding (GH-18429)
Tip revision: bf15d5b
File Mode Size
windows-release
ci.yml -rw-r--r-- 3.2 KB
docs-steps.yml -rw-r--r-- 1.3 KB
macos-steps.yml -rw-r--r-- 771 bytes
posix-deps-apt.sh -rwxr-xr-x 590 bytes
posix-steps.yml -rw-r--r-- 2.5 KB
pr.yml -rw-r--r-- 3.2 KB
prebuild-checks.yml -rw-r--r-- 1.2 KB
windows-layout-steps.yml -rw-r--r-- 1.5 KB
windows-release.yml -rw-r--r-- 3.9 KB
windows-steps.yml -rw-r--r-- 1.5 KB

back to top