diff options
author | Walter Dörwald <walter@livinglogic.de> | 2007-06-07 19:26:24 +0000 |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2007-06-07 19:26:24 +0000 |
commit | 0801cfeef0427fa253fe459b893f62420acf7bd0 (patch) | |
tree | 9fd81515533234aeefdef0de363492c8556be57a /Python/pythonrun.c | |
parent | fd093a4570a6e55f121f8203ba34710fcfbf5523 (diff) | |
download | cpython-0801cfeef0427fa253fe459b893f62420acf7bd0.tar.gz |
Fix libc_ver(): libc_ver() was reading sys.executable
in binary mode and comparing the content to strings,
which failed. Now the bytes get decoded into unicode
using latin-1 (the comparison compares ASCII strings
only anyway, and we don't want the decoding to fail).
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions