]> granicus.if.org Git - python/commit
Issue #9425: NullImporter constructor is fully unicode compliant
authorVictor Stinner <victor.stinner@haypocalc.com>
Fri, 13 Aug 2010 13:07:29 +0000 (13:07 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Fri, 13 Aug 2010 13:07:29 +0000 (13:07 +0000)
commit1a4d12d74681d35a40474790925a8ec9c8069b4e
tree8c23c387f6a2d179acefad150f8711111c468a7c
parent3d85a6fa043ddab8b289ccf5fb507242d45d2c28
Issue #9425: NullImporter constructor is fully unicode compliant

 * On non-Windows OSes: the constructor accepts bytes filenames
   and use surrogateescape for unicode filenames
 * On Windows: use GetFileAttributesW() instead of GetFileAttributesA()
Lib/test/test_imp.py
Python/import.c