]> granicus.if.org Git - python/commit
SF bug 543840: complex(string) accepts strings with \0
authorTim Peters <tim.peters@gmail.com>
Sun, 14 Apr 2002 22:04:03 +0000 (22:04 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 14 Apr 2002 22:04:03 +0000 (22:04 +0000)
commit077f27141fbd31849d6bba074e445bf391a0e6f4
tree752b029eda4906ce8a003049eaa8d1bd1feaa555
parent518d261f632e3b0ea6869756da39025fd23a9a6e
SF bug 543840: complex(string) accepts strings with \0
complex_subtype_from_string():  this stopped parsing at the first 0
byte, as if that were the end of the input string.

Bugfix candidate.
Lib/test/test_b1.py
Objects/complexobject.c