Message218745
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. |
|
Date |
User |
Action |
Args |
2014-05-18 15:49:10 | shevek | set | recipients:
+ shevek, pitrou, christian.heimes, docs@python, python-dev, animus, noxxi |
2014-05-18 15:49:10 | shevek | set | messageid: <1400428150.26.0.711411746446.issue21430@psf.upfronthosting.co.za> |
2014-05-18 15:49:10 | shevek | link | issue21430 messages |
2014-05-18 15:49:09 | shevek | create | |
|