comparison Python/import.c @ 43761:658cd34a8c5d

Fixed a bug in PyUnicode_DecodeFSDefault. strcmp() returns 0 on success. Added PyUnicode_DecodeFSDefaultAndSize Fixed a problem with the sys.path code that caused a segfault on Windows when the path contains non ASCII chars. The code for sys.executable, exec_prefix and prefix should be fixed, too.
author Christian Heimes <christian@cheimes.de>
date Sun, 04 Nov 2007 11:43:14 +0000
parents 00b136b7da84
children de3b63f8b17b
comparison
equal deleted inserted replaced
43760:e90065e17212 43761:658cd34a8c5d