]> granicus.if.org Git - python/commit
Issue #6697: use %U format instead of _PyUnicode_AsString(), because
authorVictor Stinner <victor.stinner@haypocalc.com>
Fri, 12 Mar 2010 17:00:41 +0000 (17:00 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Fri, 12 Mar 2010 17:00:41 +0000 (17:00 +0000)
commit3f1af5c42e915775e9cc32224e090b05430a23de
tree0456ab762d139e628bc6e559291854a1a01a3feb
parent50981b8242af6a456cf17e39df6a12b0f98524df
Issue #6697: use %U format instead of _PyUnicode_AsString(), because
_PyUnicode_AsString() was not checked for error (NULL).

The unicode string is no more truncated to 200 or 400 *bytes*.
Modules/_hashopenssl.c
Modules/zipimport.c
Objects/funcobject.c
Objects/typeobject.c
Python/ceval.c
Python/import.c