commit | f6c578328c419f25dea91425479a6ceeb891b04d | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Wed May 19 01:17:01 2010 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Wed May 19 01:17:01 2010 +0000 |
tree | 5b3cb3aaa49e7f6ccd827b41652829e970a79799 | |
parent | 306f0100f34c0f5461203065bbe2239a5a325ad6 [diff] |
Issue #6697: Check that _PyUnicode_AsString() result is not NULL in textio.c The bug may occurs if locale.getpreferredencoding() returns an encoding with a surrogate (very unlikely!).