Re: Overflow error (was Vol 67, Issue 192)

2009-04-13 Thread Scott David Daniels
Dave Angel wrote: Ryniek90 wrote: But i've still haven't got answer for question: "What's the max. length of string bytes which Python can hold?" sys.maxsize The largest positive integer supported by the platform’s Py_ssize_t type, and thus the maximum size lists, strings, dicts, and many

Overflow error (was Vol 67, Issue 192)

2009-04-12 Thread Dave Angel
Ryniek90 wrote: Chris Rebert pisze: On Sun, Apr 12, 2009 at 3:38 PM, Ryniek90 wrote: Paul Rubin Ryniek90 writes: When i wanted to send an .iso file of 4GB length, i had traceback: "OverflowError: requested number of bytes is more than a Python string can h