summaryrefslogtreecommitdiffstats
path: root/Lib/tokenize.py
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-11-28 23:59:46 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-11-28 23:59:46 (GMT)
commitfc889c48edc17b9502c0aef416ce2d003dbef4e6 (patch)
tree88f633faaa267ca02024a06cae0849924bbfe730 /Lib/tokenize.py
parent1de911592ee52affd6b855d7325af46559f23407 (diff)
downloadcpython-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