[issue36337] Use socket.sendall()/send() send data larger than 2GB will be truncated and return None, without exception raised.

2019-03-18 Thread kmiku7
kmiku7 added the comment: Thanks for your contribute! I just have read your PR on github. Because I am not familiar about how to contribute a patch, I doubt it's reasonable to write a test which will consuming more than 2GB memory space? Because if write a test to cover this case, we

[issue36337] Use socket.sendall()/send() send data larger than 2GB will be truncated and return None, without exception raised.

2019-03-18 Thread kmiku7
kmiku7 added the comment: Can we fix it in 2.7? -- ___ Python tracker <https://bugs.python.org/issue36337> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36337] Use socket.sendall()/send() send data larger than 2GB will be truncated and return None, without exception raised.

2019-03-18 Thread kmiku7
New submission from kmiku7 : In file Modules/socketmodule.c, sock_send/sock_sendall use int to keep array length need be sent and has sent. -- components: Library (Lib) messages: 338166 nosy: kmiku7 priority: normal severity: normal status: open title: Use socket.sendall()/send() send