Showing content from https://mail.python.org/pipermail/python-dev/2013-November/130078.html below:
[Python-Dev] [Python-checkins] cpython: Fix _Py_normalize_encoding(): ensure that buffer is big enough to store "utf-8"
[Python-Dev] [Python-checkins] cpython: Fix _Py_normalize_encoding(): ensure that buffer is big enough to store "utf-8" [Python-Dev] [Python-checkins] cpython: Fix _Py_normalize_encoding(): ensure that buffer is big enough to store "utf-8"Victor Stinner victor.stinner at gmail.com
Thu Nov 7 23:13:11 CET 2013
2013/11/7 Eric V. Smith <eric at trueblade.com>:
> Then how about at least a comment about how 6 is derived?
>
> if (lower_len < 6) /* 6 == strlen("utf-8") + 1 */
> return 0;
Ok, I added the comment in changeset 9c929b9e0a2a.
Victor
More information about the Python-Dev mailing list
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4