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 shevek
Recipients animus, christian.heimes, docs@python, noxxi, pitrou, python-dev, shevek
Date 2014-05-18.15:49:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400428150.26.0.711411746446.issue21430@psf.upfronthosting.co.za>
In-reply-to
Content
Alexey: please be more civil.

Antoine: In that case, can you please explain how you would recommend me to implement my use case, where most of my calls are master-initiated and blocking, but some slave-initiated events must be non-blocking?  Should I make a lot of calls to sslsocket.setblocking() to switch it on and off all the time?  AFAIK that is a system call (or isn't it?); while that won't make any real difference in performance in Python, it doesn't feel right to make system calls when there's technically no need for it.

Also, as I suggested previously, if you don't document the method, could you please add the word "pending" somewhere in the text?  This ensures people looking for documentation of what they see in the source will find this explanation.  It may also be good to add a note to the source code that this function should not be used.
History
Date User Action Args
2014-05-18 15:49:10sheveksetrecipients: + shevek, pitrou, christian.heimes, docs@python, python-dev, animus, noxxi
2014-05-18 15:49:10sheveksetmessageid: <1400428150.26.0.711411746446.issue21430@psf.upfronthosting.co.za>
2014-05-18 15:49:10sheveklinkissue21430 messages
2014-05-18 15:49:09shevekcreate