[issue7019] unmarshaling of artificial strings can produce funny longs.

Mark Dickinson report at bugs.python.org
Tue Sep 29 18:39:45 CEST 2009


Mark Dickinson <dickinsm at gmail.com> added the comment:

So there are two options:  (1) raise an exception, or (2) strip leading 
zero digits and produce a properly normalized Python long.  Do you have 
any strong preferences?  I'm inclined towards (2).

How did you encounter this in the first place?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7019>
_______________________________________


More information about the Python-bugs-list mailing list