[issue2723] Truncate __len__() at sys.maxsize
STINNER Victor
report at bugs.python.org
Fri Dec 26 01:00:01 CET 2008
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
Most people disagree with the original idea (len.diff: truncate the
length to sys.maxsize).
I don't like rbp's patch: replace verbose error message ("Python int
too large to convert to C ssize_t") by a shorter message ("Length too
large"). If I want to debug my program, I prefer longer error
messages. The original message contains the C type: ssize_t, useful
information.
I dislike both patches. Can we close this issue with
resolution=invalid?
----------
nosy: +haypo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2723>
_______________________________________
More information about the Python-bugs-list
mailing list