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 adamnelson
Recipients adamnelson
Date 2010-05-25.14:39:57
SpamBayes Score 0.017198917
Marked as misclassified No
Message-id <1274798419.99.0.107317054505.issue8818@psf.upfronthosting.co.za>
In-reply-to
Content
urlsplit and urlparse place the host into the path when using a default scheme:

(Pdb) urlsplit('regionalhelpwanted.com/browseads/?sn=2',scheme='http')
SplitResult(scheme='http', netloc='', path='regionalhelpwanted.com/browseads/', query='sn=2', fragment='')

When using default_scheme as referenced in the documentation, it simply doesn't work:

(Pdb) urlsplit('regionalhelpwanted.com/browseads/?sn=2',default_scheme='http')
*** TypeError: urlsplit() got an unexpected keyword argument 'default_scheme'
History
Date User Action Args
2010-05-25 14:40:20adamnelsonsetrecipients: + adamnelson
2010-05-25 14:40:19adamnelsonsetmessageid: <1274798419.99.0.107317054505.issue8818@psf.upfronthosting.co.za>
2010-05-25 14:39:57adamnelsonlinkissue8818 messages
2010-05-25 14:39:57adamnelsoncreate