Staging
v0.5.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
ax_c_float_words_bigendian.m4 -rw-r--r-- 3.1 KB
ax_check_openssl.m4 -rw-r--r-- 4.1 KB

back to top