Message239759
| 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:17 | vstinner | set | recipients:
+ vstinner, pitrou, neologix, serhiy.storchaka |
| 2015年03月31日 23:02:17 | vstinner | set | messageid: <1427842937.45.0.38972293697.issue23834@psf.upfronthosting.co.za> |
| 2015年03月31日 23:02:17 | vstinner | link | issue23834 messages |
| 2015年03月31日 23:02:17 | vstinner | create |
|