Author irmen
Recipients akuchling, irmen, loewis
Date 2010-03-17.00:14:00
SpamBayes Score 6.66373e-08
Marked as misclassified No
Message-id <1268784841.95.0.507228299608.issue1103213@psf.upfronthosting.co.za>
In-reply-to
Content
Ok I've looked at it again and think I can build an acceptable patch this time. However there are 2 things that I'm not sure of:

1) how to return the partial data to the application if the recv() loop fails before completion. Because the method will probably raise an exception on failure, as usual, it seems to me that the best place to put the partial data is inside the exception object. I can't think of another easy and safe way for the application to retrieve it otherwise. But, how is this achieved in code? I'll be using set_error() to return an error from my sock_recvall function I suppose.

2) the trunk is Python 2.7, should I make a separate patch for 3.x?
History
Date User Action Args
2010-03-17 00:14:02irmensetrecipients: + irmen, loewis, akuchling
2010-03-17 00:14:01irmensetmessageid: <1268784841.95.0.507228299608.issue1103213@psf.upfronthosting.co.za>
2010-03-17 00:14:00irmenlinkissue1103213 messages
2010-03-17 00:14:00irmencreate