]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #9979: Use PyUnicode_AsWideCharString() in import.c
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 29 Sep 2010 10:28:51 +0000 (10:28 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 29 Sep 2010 10:28:51 +0000 (10:28 +0000)
commit255dfdb5ce5b93240a1edd724e1c7a479862ef7d
treec5dd6cfdef937a080d5600aa888d01a6d5e39afc
parent137c34c0274954b2cdd1fd5b490c654528ff30f7
Issue #9979: Use PyUnicode_AsWideCharString() in import.c

Don't truncate path if it is too long anymore, and allocate fewer memory (but
allocate it on the heap, not on the stack).
Python/import.c