Re: Restoring override of urllib.URLopener.open_https

2006-10-05 Thread Jean-Paul Calderone
On Fri, 6 Oct 2006 02:22:23 GMT, Bakker A <[EMAIL PROTECTED]> wrote: >In article <[EMAIL PROTECTED]>, >goyatlah wrote: >> >>I think that you need a superclass above the M2Crypto one, and change >>the open_https method back to the urllibs one. >> > >I'm not sure I get your suggestion. What the M2C

Re: Restoring override of urllib.URLopener.open_https

2006-10-05 Thread Bakker A
In article <[EMAIL PROTECTED]>, goyatlah wrote: > >I think that you need a superclass above the M2Crypto one, and change >the open_https method back to the urllibs one. > I'm not sure I get your suggestion. What the M2Crypto module does is: import m2urllib in its __init__.py, which bl

Re: Restoring override of urllib.URLopener.open_https

2006-10-05 Thread goyatlah
I think that you need a superclass above the M2Crypto one, and change the open_https method back to the urllibs one. Moi Dolf On Thu, 5 Oct 2006 15:09:22 GMT, Bakker A <[EMAIL PROTECTED]> wrote: >Hi, > >the M2Crypto library overrides the urllib.URLopener.open_https method, >causing a urllib.urlo

Restoring override of urllib.URLopener.open_https

2006-10-05 Thread Bakker A
Hi, the M2Crypto library overrides the urllib.URLopener.open_https method, causing a urllib.urlopen to a https: server to fail in my case. My python is not that strong, so is there a way to set urllib.URLopener.open_https back to the original code? I prefer not to modify M2Crypto. Thanks,