[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
More information about the Python-Dev mailing list
Thu Nov 7 23:13:11 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 ]
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
- 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