summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-10-18 21:21:02 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-10-18 21:21:02 (GMT)
commit8c8ed0a799b41636327bc2950ed8c00d741be97d (patch)
tree281fe3d0731d7beb5eb10eaf068c48f881aec4ed /Misc
parent9a90900da59816b4d376c47b94b5513b849db070 (diff)
downloadcpython-8c8ed0a799b41636327bc2950ed8c00d741be97d.zip
cpython-8c8ed0a799b41636327bc2950ed8c00d741be97d.tar.gz
cpython-8c8ed0a799b41636327bc2950ed8c00d741be97d.tar.bz2
zipimport: fix "can't find module ..." error message
I cannot use %U: fullname is a bytes object, not an unicode object. %A format cannot be used, it adds 'b' (bytes) prefix. So create cant_find_module() function to decode the filename and raise the error message.
Diffstat (limited to 'Misc')
0 files changed, 0 insertions, 0 deletions