A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-August/008156.html below:

[Python-bugs-list] [Bug #111620] lots of use of send() without verifyi ng amount of d

[Python-Dev] noreply@sourceforge.net: [Python-bugs-list] [Bug #111620] lots of use of send() without verifyi ng amount of d [Python-Dev] noreply@sourceforge.net: [Python-bugs-list] [Bug #111620] lots of use of send() without verifyi ng amount of dGordon McMillan gmcm@hypernet.com
Fri, 11 Aug 2000 08:32:44 -0400
[bug report] 
> Details: a quick grep of the standard python library (below)
> shows that there is lots of unchecked use of the send() 
> function.
[Guido]
> I just noticed this.  Is this true?  Shouldn't we change send()
> to raise an error instead of returning a small number?  (The
> number of bytes written can be an attribute of the exception.)

No way! You'd break 90% of my sockets code! People who 
don't want to code proper sends / recvs can use that sissy 
makefile junk.

- Gordon



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