[issue18100] socket.sendall() cannot send buffers of 2GB or more

Anton Tyurin report at bugs.python.org
Sun Jul 7 22:48:28 CEST 2013


Anton  Tyurin added the comment:

The same error in the use of socket.send(). Is it possible to use size_t for len instead of int?
According to http://www.python.org/dev/peps/pep-0353/ Py_ssize_t on x86 is typedef for int, and size_t has the same size.
On x64 sizeof size_t is 8bit, that covers the limits of reasonable use.

----------
keywords: +patch
nosy: +noxiouz
Added file: http://bugs.python.org/file30847/send_and_sendall_issue18100.patch

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


More information about the Python-bugs-list mailing list