Https and proxy support in urllib2

Martin Pool mbp at sourcefrog.net
Wed Aug 5 00:08:54 BST 2009


2009/8/4 Vincent Ladeuil <v.ladeuil+lp at free.fr>:
>>>>>> "jam" == John Arbash Meinel <john at arbash-meinel.com> writes:
>
>    jam> I just saw this message on the python-dev mailing list.
>    jam> I thought we might want to look into it, in case we have some issues
>    jam> with proxies and https. I'm not sure what *we* can do, as their ruling
>    jam> "feature not a bugfix, thus no backporting" is not particularly helpful
>    jam> for us having proxy support (even going all the way back to python2.4).

I expect we'll get this kind of case ourselves in doing a long-term
supported series, but it will be ok.

>
> AFAIK, we have a specific implementation for https via proxies
> that works for all supported python versions, i.e. *we*
> considered it a feature and implemented it for all supported
> versions.

I think the main problem of this kind that we have now is that proxies
don't work with xmlrpclib -
https://bugs.edge.launchpad.net/bzr/+bug/186920 with 8 dupes.

>    jam> By the way, it just came up last week that properly supporting python2.4
>    jam> was important. It seems RHEL 4 is still a python2.4 only system. From
>    jam> what I can tell RHEL is considered to have a total 7-year lifetime with:

If we keep supporting 2.0 on python2.4 we could potentially go to
requiring 2.5 for later releases, which might be nice.  It will take
some thought though, if later releases add formats that 2.0 can't
read.  Let's get that out first then think about it.

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list