urlutils improvements from hpss
robertc at robertcollins.net
Mon Apr 16 04:21:54 BST 2007
On Mon, 2007-04-16 at 01:56 +1000, Andrew Bennetts wrote:
> I think it's clearer for code to say "urlutils.pathjoin" than
> when joining URLs. We've had code in the past that was confused about
> the kinds
> of paths they dealt with.
In particular, paths are unicode/native-encoding/utf8 whereas urls are
bytestrings always. Paths have 'real paths', URLs cannot (only the
issuer of a URL can tell you if it will redirect).
I agree that having disjoint API's is actually a good thing.
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070416/2a4df94c/attachment.pgp
More information about the bazaar