[rfc] [patch] pycurl transport

Robert Collins robertc at robertcollins.net
Thu Jan 12 01:40:34 GMT 2006


On Wed, 2006-01-11 at 19:32 -0600, John Arbash Meinel wrote:

> As long as you don't do 'import _pycurl' but do 'import
> bzrlib.transport.http._pycurl'.
> But honestly, if they are in the bzrlib.transport.http interface, why do
> we need the underscore?

Because they are not in the interface, they provide the interface but
are not directly accessible.
I would not go quite so far as to suggest __pycurl, but the fact that
http is provided by _pycurl does not put _pycurl itself in the
interface.

Also note that during the initialisation of a module you may not be able
to import absolute paths under it because it is not in the parent symbol
dictionary/system modules dictionary yet.

Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060112/51cc9562/attachment.pgp 


More information about the bazaar mailing list