commit | c3b6ac796f160ed27d2d1094ef606514ac3ae898 | [log] [tgz] |
---|---|---|
author | Walter Dörwald <walter@livinglogic.de> | Thu Jun 07 19:26:24 2007 +0000 |
committer | Walter Dörwald <walter@livinglogic.de> | Thu Jun 07 19:26:24 2007 +0000 |
tree | dcb518a7f161a1986fcbb2849b546a850d831bfc | |
parent | 94093ffcb68f79180c35b1c651738194a97a1bcb [diff] |
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).