summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2007-06-07 19:26:24 +0000
committerWalter Dörwald <walter@livinglogic.de>2007-06-07 19:26:24 +0000
commit0801cfeef0427fa253fe459b893f62420acf7bd0 (patch)
tree9fd81515533234aeefdef0de363492c8556be57a /Python/pythonrun.c
parentfd093a4570a6e55f121f8203ba34710fcfbf5523 (diff)
downloadcpython-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