Splitting URLs
Paul Boddie
paul at boddie.org.uk
Mon Oct 22 06:20:00 EDT 2007
On 22 Okt, 03:53, Tim Chase <python.l... at tim.thechases.com> wrote:
>
> This seems to be intentional, rather than a bug. In my
> python2.4/urlparse.py file, there's a uses_netloc list which
> clearly does not have 'mailto' in it. I can't give an
> explanation/justification for it, but it seems to me (IMHO) that
> there is a netloc involved in a mail address.
As is often the case with the standard library, there are various open
issues around the functionality:
http://bugs.python.org/issue?%40filter=status&status=-1%2C1%2C3&%40search_text=RFC+3986
This proposed module (in the above search results) attempts to
implement RFC 3986:
http://bugs.python.org/issue1500504
I'm not sure whether itools.uri goes as far as you might like:
http://download.ikaaro.org/doc/itools/chapter--uri.html
Either way, after listening to Ron Stephens' most recent Python411
podcast, where he mentions that it's apparently up to the community to
fix the standard library (according to GvR and the core developers),
perhaps there's some demand for a "Python 300" which just cleans up
the standard library in a potentially (but not necessarily) backwards-
incompatible fashion.
Paul
More information about the Python-list
mailing list