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.)
Showing
Please register or sign in to comment