]> granicus.if.org Git - python/commit
Don't specify base 0 to string.atoi when unpickling integers in text
authorGuido van Rossum <guido@python.org>
Wed, 10 Dec 1997 19:36:41 +0000 (19:36 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 10 Dec 1997 19:36:41 +0000 (19:36 +0000)
commite680546894ae6e5dffe8b6f6a6a17a56301033ae
tree41d1d040a179fe9dcfdb1eb84576f5652df6e7d1
parent87908f5925a4a888a8ae52e507d079da7232e8d8
Don't specify base 0 to string.atoi when unpickling integers in text
mode.  The pickler always uses base 10 so the default base should be
fine.  (The base gets us in trouble when there's no strop module, as
the atoi() in string.py only supports base 10.  This is for JPython.)
Lib/pickle.py