diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-11-10 14:12:20 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-11-10 14:12:20 (GMT) |
commit | 47f637ce17022464307b093cee6f367e2dc7f024 (patch) | |
tree | 0c342696dbe02e4e8449747f6b4d2ab9e0b1dcd6 /Lib/configparser.py | |
parent | cf9f98034a6bc7c55486042da1867447cfd2f0b5 (diff) | |
download | cpython-47f637ce17022464307b093cee6f367e2dc7f024.zip cpython-47f637ce17022464307b093cee6f367e2dc7f024.tar.gz cpython-47f637ce17022464307b093cee6f367e2dc7f024.tar.bz2 |
getpath.c: fix test to detech PyUnicode_AsWideChar() failure
PyUnicode_AsWideChar() result is signed, whereas it was stored in a unsigned
variable, and then the test was "n >= 0" which is always true to an unsigned
number. Patch written by Hallvard B Furuseth.
Diffstat (limited to 'Lib/configparser.py')
0 files changed, 0 insertions, 0 deletions