summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-08-08 22:12:45 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-08-08 22:12:45 (GMT)
commit2e5f1178ac55c032982c69f4f4dd70c19f9fa46e (patch)
tree6c5e91d640adbe729e2139914103db04362e160d /Modules
parenteb6f3ead00f1cccffafba03245861a4d6bd84346 (diff)
downloadcpython-2e5f1178ac55c032982c69f4f4dd70c19f9fa46e.zip
cpython-2e5f1178ac55c032982c69f4f4dd70c19f9fa46e.tar.gz
cpython-2e5f1178ac55c032982c69f4f4dd70c19f9fa46e.tar.bz2
Issue #9425: fix setup_context() for non-ascii filenames
setup_context() replaces .pyc or .pyo filename suffix by .py, but it didn't work if the filename contains a non-ascii character because the function used the wrong unit for the length (number of characters instead of the number of bytes). With this patch, it uses unicode filenames instead of bytes filenames, to fix the bug and to be fully unicode compliant.
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions