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 nobody
Date 2000-07-31.21:06:44
SpamBayes Score
Marked as misclassified
Jitterbug-Id: 221
Date: Tue, 29 Feb 2000 19:15:45 -0500 (EST)
Version: 1.5.2
OS: Irix fails to handle proxies with user and password information 
included in the proxy URL, e.g. http://ssmith:testpass@

The following example ...

	import os, urllib
	os.environ['http_proxy'] = "http://ssmith:testpass01@"
	f = urllib.urlopen('')
	data =
	print data

fails with the following errors :

Traceback (innermost last):
  File "", line 3, in ?
    f = urllib.urlopen('')
  File "/var/share//lib/python1.5/", line 59, in urlopen
  File "/var/share//lib/python1.5/", line 157, in open
    return getattr(self, name)(url)
  File "/var/share//lib/python1.5/", line 253, in open_http
    h = httplib.HTTP(host)
  File "/var/share//lib/python1.5/", line 51, in __init__
    if host: self.connect(host, port)
  File "/var/share//lib/python1.5/", line 75, in connect
    raise socket.error, "nonnumeric port"
IOError: [Errno socket error] nonnumeric port

Audit trail:
Mon May 22 17:35:04 2000	guido	moved from incoming to open
Date User Action Args
2007-08-23 13:49:07adminlinkissue210619 messages
2007-08-23 13:49:07admincreate