diff options
| author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-06-20 12:59:53 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-06-20 12:59:53 (GMT) |
| commit | 7edb5dfcbc815e2479e4c68051bf1805d1c9348d (patch) | |
| tree | 6cb46ecc2e28393bfb5db9a4b194d8fb3609d53a /Python/import.c | |
| parent | 99563b1df835218fd61fe1c86930b49dd55044be (diff) | |
| download | cpython-7edb5dfcbc815e2479e4c68051bf1805d1c9348d.zip cpython-7edb5dfcbc815e2479e4c68051bf1805d1c9348d.tar.gz cpython-7edb5dfcbc815e2479e4c68051bf1805d1c9348d.tar.bz2 | |
Issue #6697: _lsprof: normalizeUserObj() doesn't encode/decode (UTF-8) the
module name anymore, only work on unicode strings. Therefore it doesn't
truncate module names with embedded NUL characters, or fail if the module name
contains surrogate characters (UTF-8 encoder fails on a surrogate character).
Patch written by Alexander Belopolsky.
Diffstat (limited to 'Python/import.c')
0 files changed, 0 insertions, 0 deletions
