Roundup Robot added the comment:
New changeset bff269ee7288 by Mark Dickinson in branch '2.7':
Issues #16029, #16030: Fix pickling and repr of large xranges.
http://hg.python.org/cpython/rev/bff269ee7288
--
nosy: +python-dev
___
Python tracker
Changes by Mark Dickinson dicki...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16030
___
Mark Dickinson added the comment:
The patch for issue #16029 fixes this issue, too.
--
components: +Interpreter Core -Library (Lib)
dependencies: +pickle.dumps(xrange(sys.maxsize)) produces xrange(0)
___
Python tracker rep...@bugs.python.org
New submission from Mark Dickinson:
Python 2.7.3+ (2.7:f51d11405f1d+, Sep 24 2012, 21:39:19)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type help, copyright, credits or license for more information.
import sys
xrange(0, sys.maxint, sys.maxint-1)
xrange(0, -4, 9223372036854775806)
See also
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16030
___
___
Python-bugs-list