Bugs item #1549589, was opened at 2006-08-30 21:19 Message generated for change (Comment added) made by oscarah You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1549589&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Library Group: Python 2.4 Status: Closed Resolution: Duplicate Priority: 5 Submitted By: Oscar Acena (oscarah) Assigned to: Nobody/Anonymous (nobody) Summary: urlparse return exchanged values Initial Comment: The urlparser module is used to split an url into 6 fields, acording to the pertinent spec. The fields are: - scheme - net location - path - params - query - frag id The netloc of http://www.google.es/index.html is: "www.google.es" and the path is "/index.html", ok? But if you try this: >>> urlparse("www.google.es") the answer is: ('', '', 'www.google.es', '', '', '') instead of ('', 'www.google.es', '', '', '', '') On the other hand, if you try this: >>> urlparse("http://www.google.es") the answer is: ('http', 'www.google.es', '', '', '', '') which is correct. The pytho header is: Python 2.4.4c0 (#2, Jul 30 2006, 15:43:58) [GCC 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)] on linux2 and I downloaded the latest version of that lib (urlparse.py, at 2006 08 30) Thats all. Thanks. ---------------------------------------------------------------------- >Comment By: Oscar Acena (oscarah) Date: 2006-08-31 09:52 Message: Logged In: YES user_id=1587388 Sorry then! I look for it but i haven't found anything. Thanks for your time. ---------------------------------------------------------------------- Comment By: Georg Brandl (gbrandl) Date: 2006-08-31 05:43 Message: Logged In: YES user_id=849994 Duplicate of #754016. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1549589&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com