diff options
author | Brian Curtin <brian.curtin@gmail.com> | 2010-11-28 23:59:46 (GMT) |
---|---|---|
committer | Brian Curtin <brian.curtin@gmail.com> | 2010-11-28 23:59:46 (GMT) |
commit | fc889c48edc17b9502c0aef416ce2d003dbef4e6 (patch) | |
tree | 88f633faaa267ca02024a06cae0849924bbfe730 /Lib/tokenize.py | |
parent | 1de911592ee52affd6b855d7325af46559f23407 (diff) | |
download | cpython-fc889c48edc17b9502c0aef416ce2d003dbef4e6.zip cpython-fc889c48edc17b9502c0aef416ce2d003dbef4e6.tar.gz cpython-fc889c48edc17b9502c0aef416ce2d003dbef4e6.tar.bz2 |
Fix for #8879.
Amaury noticed that this was originally written in a way that would fail on
names that can't be encoded with the mbcs codec. Restructured the function
to work with wide names first then narrow names second, to fall in line
with the way other functions are written in posixmodule.c.
Diffstat (limited to 'Lib/tokenize.py')
0 files changed, 0 insertions, 0 deletions