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/2001-January/011656.html below:

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Lib httplib.py,1.26,1.27

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Lib httplib.py,1.26,1.27Guido van Rossum guido@python.org
Mon, 15 Jan 2001 09:33:23 -0500
> >...
> > *** 333,337 ****
> >               i = host.find(':')
> >               if i >= 0:
> > !                 port = int(host[i+1:])
> >                   host = host[:i]
> >               else:
> > --- 333,340 ----
> >               i = host.find(':')
> >               if i >= 0:
> > !                 try:
> > !                     port = int(host[i+1:])
> > !                 except ValueError, msg:
> > !                     raise socket.error, str(msg)
> >                   host = host[:i]
> >               else:
> 
> Did you intend to commit this?

Oops.  That was a patch submitted a while ago that I applied as an
experiment but then decided I didn't like (argument: why bother).
I've reverted it.

--Guido van Rossum (home page: http://www.python.org/~guido/)



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