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 orsenthil
Recipients dalke, facundobatista, ijmorlan, jjlee, orsenthil, paulj, skip.montanaro, vila, vincentk
Date 2008-08-25.13:14:32
SpamBayes Score 3.81366e-08
Marked as misclassified No
Message-id <1219670076.87.0.729762757084.issue1462525@psf.upfronthosting.co.za>
In-reply-to
Content
Hello Paul, 
Have you beeing keeping track of urlparse changes in Python2.6? I 
anaylzed your patch and read through the RFC3986 and have the 
following comments:

1) The usage of this module is very diffirent from the current 
urlparse module's usage. It might be that this module was designed to 
co-exist with urlparse, providing certain additional functionalities. 
But inorder to replace urlparse, I find this module is "Backward 
Incompatible with the code base". 

Some comments extra features provided /claims of this module.

2) The module provides URI handling framework that includes default 
URI Parsers for common URI Schemes.
    - RFC3986 specifies that scheme handling part is left to the 
separate RFC describing the schemes. 
    - uriparse library attempts that by providing default port and 
default hostname for certain schemes, but that can be made available 
as a patch to urlparse rather than new library. The need for such a 
change in urlparse needs to be analyzed, as there has not been any 
requirement raised as such for proving default port, default host for 
schemes whenever it is applicable.

3) urlsplit, urlunsplit, spliting the authority into sub-components is
available in the current urlparse library itself and is RFC3986 
conformant.

4) urljoin in the current urlparse ( patched with fixes) is currently 
RFC3986conformant.

What urlparse further requires and this patch also lacks is ( as 
commented by John J Lee)
1) Handling of IRIs.
2) Python Unicode Strings.
3) Percent- Encodings for IRIs and Python Unicode Strings.
( There is a discussion going on on quote and unquote of unicode, and 
thatwould be basically be extended to above points as well)

- If required, we can adopt the default host and port provision 
mechanisms as  mentioned in this patch to the current urlparse. 

Other that that, I see that urlparse currently has all changes as 
mentioned inthis patch and makes the attached patch an obsolete one.

Please let me know your comments/ thoughts.

Thanks.
History
Date User Action Args
2008-08-25 13:14:37orsenthilsetrecipients: + orsenthil, skip.montanaro, facundobatista, jjlee, dalke, paulj, vila, ijmorlan, vincentk
2008-08-25 13:14:36orsenthilsetmessageid: <1219670076.87.0.729762757084.issue1462525@psf.upfronthosting.co.za>
2008-08-25 13:14:36orsenthillinkissue1462525 messages
2008-08-25 13:14:32orsenthilcreate