Agreed. On Sunday, April 27, 2014, Antoine Pitrou <solipsis at pitrou.net> wrote: > On Sun, 27 Apr 2014 12:10:46 -0700 > Nikolaus Rath <Nikolaus at rath.org <javascript:;>> wrote: > > > > * http://bugs.python.org/issue20951 (SSLSocket.send() returns 0 for > > non-blocking socket) > > > > In this case someone just needs to decide if we want to (a) document > > the current behavior, (b) deprecate the current behavior or (c) change > > the current behavior. I have attached patches for (a) and (b), and if > > (c) is the desired route I'll be happy to create a patch on short > > notice. > > In this case I'd be inclined to follow Ben Darnell's advice and change > the current behaviour (i.e., let the exception bubble up rather than > catch it). This is what your initial patch does. However, it would need > a documentation addition to explain the change (and perhaps a test, > though that doesn't seem terribly necessary here). > > Regards > > Antoine. > > -- --Guido van Rossum (on iPad) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20140427/29b1ba9d/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4