[issue1637] urlparse.urlparse misparses URLs with query but no path

Guido van Rossum report at bugs.python.org
Thu Dec 20 00:57:26 CET 2007

Guido van Rossum added the comment:

> I tried downloading the latest rev of urlparse.py (59480) and it flunked
> its own unit test, "urlparse.test()"  Two test cases fail.

That's not the official test -- that code should probably be deleted. 
The real test is in Lib/test/test_urlparse.py.  Please ignore that test.

Tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list