This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients neologix, pitrou, serhiy.storchaka, vstinner
Date 2015-03-31.23:02:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427842937.45.0.38972293697.issue23834@psf.upfronthosting.co.za>
In-reply-to
Content
By the way, socket.sendto() has a bug: it stores the result of sendto() into a C int. It must store the result into a Py_ssize_t.  sock_call.patch already contains a fix for this.

Attached sendto_ssizet.patch is the fix for Python 2.7 and 3.4.

UDP packets cannot be larger than an ethernet frame which is smaller than 10,000 bytes. That's probabyl why nobody complained before. sendto() is only used for UDP, no?
History
Date User Action Args
2015-03-31 23:02:17vstinnersetrecipients: + vstinner, pitrou, neologix, serhiy.storchaka
2015-03-31 23:02:17vstinnersetmessageid: <1427842937.45.0.38972293697.issue23834@psf.upfronthosting.co.za>
2015-03-31 23:02:17vstinnerlinkissue23834 messages
2015-03-31 23:02:17vstinnercreate