[Python-Dev] [Python-checkins] cpython: Fix _Py_normalize_encoding(): ensure that buffer is big enough to store "utf-8"
Eric V. Smith
eric at trueblade.com
Thu Nov 7 23:14:18 CET 2013
More information about the Python-Dev mailing list
Thu Nov 7 23:14:18 CET 2013
- Previous message: [Python-Dev] [Python-checkins] cpython: Fix _Py_normalize_encoding(): ensure that buffer is big enough to store "utf-8"
- Next message: [Python-Dev] [Python-checkins] cpython: Fix _Py_normalize_encoding(): ensure that buffer is big enough to store "utf-8"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 11/7/2013 5:13 PM, Victor Stinner wrote: > 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. Thanks! Eric.
- Previous message: [Python-Dev] [Python-checkins] cpython: Fix _Py_normalize_encoding(): ensure that buffer is big enough to store "utf-8"
- Next message: [Python-Dev] [Python-checkins] cpython: Fix _Py_normalize_encoding(): ensure that buffer is big enough to store "utf-8"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list