Re: Generic proxy (that proxies methods like __iter__)

2010-01-28 Thread D HANNEY
On Jan 27, 3:07 pm, Arnaud Delobelle arno...@googlemail.com wrote: On 27 Jan, 14:41, D HANNEY spam2...@nney.com wrote: [...] See [1] for an explanation.  Here is an idea: you could get round that by generating a class on the fly, if you don't mind changing the class of the object (untested):

Re: Generic proxy (that proxies methods like __iter__)

2010-01-28 Thread D HANNEY
On Jan 28, 1:31 pm, D HANNEY spam2...@nney.com wrote: Your solution works if I change type(obj) to say obj.__class__. If I don't make this change Python complains TypeError: Error when calling the metaclass bases type 'instance' is not an acceptable base type. So, I've got something that

Generic proxy (that proxies methods like __iter__)

2010-01-27 Thread D HANNEY
\nblah3\n)) Traceback (most recent call last): File stdin, line 1, in module File stdin, line 2, in show AttributeError: StringIO instance has no attribute '__exit__' # # Oh dear ... I'll need to proxy it ... # class IterNoGuardProxy(object): ... def __init__(self, t

Re: Generic proxy (that proxies methods like __iter__)

2010-01-27 Thread Arnaud Delobelle
On 27 Jan, 14:41, D HANNEY spam2...@nney.com wrote: [...] class NoGuardProxy(object): ... def __init__(self, t): ... self.t = t ... def __enter__(self): ... return self ... def __exit__(self, type, value, traceback): ...

python mechanize.browser proxy handdling question

2010-01-14 Thread elca
Hello All, i was encoutered some problem while im using mechanize.Browser() with proxy handling function. i have working snippet of script about mechanize.urlopen, but i don't know how to implement with mechanize.Brower module. if anyone can show me some sample? if anyone help me much

Re: python mechanize proxy support question

2010-01-04 Thread alex23
On Jan 4, 5:42 pm, elca high...@gmail.com wrote: how can i add proxy support into my mechanize script? i was look for some reference , but not so much good hint from google. There are examples on using proxies with mechanize on the module's home page: http://wwwsearch.sourceforge.net/mechanize

Re: python mechanize proxy support question

2010-01-04 Thread elca
alex23 wrote: On Jan 4, 5:42 pm, elca high...@gmail.com wrote: how can i add proxy support into my mechanize script? i was look for some reference , but not so much good hint from google. There are examples on using proxies with mechanize on the module's home page: http

Re: python mechanize proxy support question

2010-01-04 Thread alex23
On Jan 4, 9:25 pm, elca high...@gmail.com wrote: that is only support mechanize.browser module.. actually im looking mechanize.urlopen method. From the docs: In these examples, the workings are hidden inside the mechanize.urlopen () function, which is an extension of urllib2.urlopen().

python mechanize proxy support question

2010-01-03 Thread elca
Hello All Happy New Year! i have some question about python mechanize 's proxy support. im making some web client script, and i would like to insert proxy support function into my script. for example ,if i have such like following some script. how can i add proxy support into my mechanize

[issue210849] Fwd: Debian Bug#42318: urllib.py has problems with malformed proxy env. variables (PR#59)

2009-12-28 Thread Shinnosuke
Shinnosuke shinnosuke.g...@gmail.com added the comment: I found a solution of the same errors from Windows, and my solution was removed the double quote at HTTP_PROXY settings. -- components: +Windows -Library (Lib) nosy: +shinnosuke versions: +Python 2.6

[issue7503] multiprocessing AuthenticationError digest sent was rejected when pickling proxy

2009-12-24 Thread Nir Aides
Changes by Nir Aides n...@winpdb.org: -- nosy: +nirai ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7503 ___ ___ Python-bugs-list mailing list

[issue7291] urllib2 cannot handle https with proxy requiring auth

2009-12-23 Thread Manuel Muradás
Manuel Muradás mmura...@dieresys.com.ar added the comment: Hi! 2.6 backport is missing an argument in _set_tunnel definition. It should be: def _set_tunnel(self, host, port=None, headers=None): -- nosy: +dieresys ___ Python tracker

[issue7291] urllib2 cannot handle https with proxy requiring auth

2009-12-23 Thread Manuel Muradás
Manuel Muradás mmura...@dieresys.com.ar added the comment: The patch fixes only when you pass the authentication info in the proxy handler's URL. Like: proxy_handler = urllib2.ProxyHandler({'https': 'http://user:p...@proxy-example.com:3128/'}) But setting the authentication using

[issue7291] urllib2 cannot handle https with proxy requiring auth

2009-12-23 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Thanks for the note, Manuel. Fixed it in revision 77013. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7291 ___

Re: I look for proxy cache like apt-proxy (for Debian Package) but for python eggs package…

2009-12-19 Thread Steve Holden
Diez B. Roggisch wrote: Klein Stéphane schrieb: Hi, I look for a tools to do proxy cache like apt-proxy (for Debian Package) but for python eggs package. Can a easy-install option perform this feature ? No. But you might install EggBasket, which is a PyPI-like server. http

[issue7291] urllib2 cannot handle https with proxy requiring auth

2009-12-19 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Fixed and Committed revision 76908 in the trunk. -- keywords: -needs review resolution: accepted - fixed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7291

[issue7291] urllib2 cannot handle https with proxy requiring auth

2009-12-19 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Fixed through reversions r76908, r76909, r76910, r76911 Thanks for the patch, Tatsuhiro Tsujikawa. -- status: open - closed ___ Python tracker rep...@bugs.python.org

[issue7503] multiprocessing AuthenticationError digest sent was rejected when pickling proxy

2009-12-14 Thread Pete Hunt
Pete Hunt floydoph...@gmail.com added the comment: UPDATE: this example WORKS if you remove authkey - so it seems to be a problem with authentication. -- type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7503

[issue7503] multiprocessing AuthenticationError digest sent was rejected when pickling proxy

2009-12-14 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +jnoller ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7503 ___ ___ Python-bugs-list

[issue7503] multiprocessing AuthenticationError digest sent was rejected when pickling proxy

2009-12-14 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- priority: - normal type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7503 ___

[issue7503] multiprocessing AuthenticationError digest sent was rejected when pickling proxy

2009-12-13 Thread Pete Hunt
New submission from Pete Hunt floydoph...@gmail.com: When pickling a proxy object (such as a list) created on a client, an exception is thrown. Example attached. Python 2.6.4 Mac OS X 10.6 p -- components: Library (Lib) files: multiprocessing_bug.py messages: 96371 nosy: peterhunt

[issue7154] urllib.request system proxy configuration lookup broken for OS X in Python 3

2009-12-09 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I agree that _scproxy should be ported to the 3.x trees. Such a port should be fairly straightforward, but is harder than just copying files over due to the str/unicode changes in the 3.x tree. --

Re: python proxy checker ,change to threaded version

2009-12-08 Thread Lie Ryan
On 12/8/2009 8:43 AM, Rhodri James wrote: def run(self): result = func(*func_args) # matching run_in_thread param names callback(result, *callback_args) Neat, but I think you mean if callback is not None: callback(result, *callback_args) for that last line. how about: import threading def

Re: python proxy checker ,change to threaded version

2009-12-08 Thread r0g
Lie Ryan wrote: On 12/8/2009 8:43 AM, Rhodri James wrote: def run(self): result = func(*func_args) # matching run_in_thread param names callback(result, *callback_args) Neat, but I think you mean if callback is not None: callback(result, *callback_args) for that last line. how about:

Re: python proxy checker ,change to threaded version

2009-12-07 Thread r0g
elca wrote: Hello ALL, i have some python proxy checker . and to speed up check, i was decided change to mutlthreaded version, and thread module is first for me, i was tried several times to convert to thread version and look for many info, but it not so much easy for novice python

Re: python proxy checker ,change to threaded version

2009-12-07 Thread elca
r0g wrote: elca wrote: Hello ALL, i have some python proxy checker . and to speed up check, i was decided change to mutlthreaded version, and thread module is first for me, i was tried several times to convert to thread version and look for many info, but it not so much easy

Re: python proxy checker ,change to threaded version

2009-12-07 Thread Terry Reedy
r0g wrote: The trick to threads is to create a subclass of threading.Thread, define the 'run' function and call the 'start()' method. I find threading quite generally useful so I created this simple generic function for running things in threads... Great idea. Thanks for posting this. def

Re: python proxy checker ,change to threaded version

2009-12-07 Thread Rhodri James
On Mon, 07 Dec 2009 18:21:23 -, Terry Reedy tjre...@udel.edu wrote: r0g wrote: The trick to threads is to create a subclass of threading.Thread, define the 'run' function and call the 'start()' method. I find threading quite generally useful so I created this simple generic function for

Re: python proxy checker ,change to threaded version

2009-12-07 Thread Terry Reedy
Rhodri James wrote: On Mon, 07 Dec 2009 18:21:23 -, Terry Reedy tjre...@udel.edu wrote: def run(self): result = func(*func_args) # matching run_in_thread param names callback(result, *callback_args) Neat, but I think you mean if callback is not None:

Re: python proxy checker ,change to threaded version

2009-12-07 Thread r0g
Terry Reedy wrote: r0g wrote: The trick to threads is to create a subclass of threading.Thread, define the 'run' function and call the 'start()' method. I find threading quite generally useful so I created this simple generic function for running things in threads... Great idea. Thanks

Re: python proxy checker ,change to threaded version

2009-12-07 Thread r0g
Terry Reedy wrote: r0g wrote: The trick to threads is to create a subclass of threading.Thread, define the 'run' function and call the 'start()' method. I find threading quite generally useful so I created this simple generic function for running things in threads... Great idea. Thanks

Re: python proxy checker ,change to threaded version

2009-12-07 Thread r0g
Rhodri James wrote: On Mon, 07 Dec 2009 18:21:23 -, Terry Reedy tjre...@udel.edu wrote: r0g wrote: The trick to threads is to create a subclass of threading.Thread, define the 'run' function and call the 'start()' method. I find threading quite generally useful so I created this simple

python proxy checker ,change to threaded version

2009-12-06 Thread elca
Hello ALL, i have some python proxy checker . and to speed up check, i was decided change to mutlthreaded version, and thread module is first for me, i was tried several times to convert to thread version and look for many info, but it not so much easy for novice python programmar

[issue1519816] urllib2 proxy does not work in 2.4.3

2009-11-24 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: HTTP Proxy Authentication works on Windows and has been verified. Under the situation of failure, we do not enough details. Closing this bug as out-of-date as the reporter informed it worked on py2.5 and problem was with py2.4

[issue7291] urllib2 cannot handle https with proxy requiring auth

2009-11-17 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: The patch looks good to me. IMHO this should be backported to 2.6 as well. -- keywords: +needs review nosy: +ronaldoussoren ___ Python tracker rep...@bugs.python.org

[issue7291] urllib2 cannot handle https with proxy requiring auth

2009-11-17 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I've tested a backport of the patch to 2.6 (just replace set_proxy by _set_proxy in the patch) and the resulting version of urllib2 can login to the proxy (as expected). Thanks for the patch

[issue7291] urllib2 cannot handle https with proxy requiring auth

2009-11-15 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- assignee: - orsenthil nosy: +orsenthil resolution: - accepted ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7291 ___

[issue7291] urllib2 cannot handle https with proxy requiring auth

2009-11-10 Thread Tatsuhiro Tsujikawa
Changes by Tatsuhiro Tsujikawa tsujik...@gp.hitachi.co.jp: -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7291 ___ ___

[issue7291] urllib2 cannot handle https with proxy requiring auth

2009-11-08 Thread Tatsuhiro Tsujikawa
New submission from Tatsuhiro Tsujikawa tsujik...@gp.hitachi.co.jp: urllib2 cannot handle https with proxy requiring authorization. After https_proxy is set correctly, Python 2.6.4 (r264:75706, Oct 29 2009, 15:38:25) [GCC 4.4.1] on linux2 Type help, copyright, credits or license for more

[issue7291] urllib2 cannot handle https with proxy requiring auth

2009-11-08 Thread Tatsuhiro Tsujikawa
, in AbstractHTTPHandler::do_open(), if Proxy-Authorization header is found, pass it to set_tunnel(). It works fine for me. -- keywords: +patch Added file: http://bugs.python.org/file15296/https_proxy_auth.patch ___ Python tracker rep...@bugs.python.org http

[issue7044] urllib.urlopen crashes when used on Mac OS 10.6.1 through a proxy

2009-10-18 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Fixed in r75482 (trunk) and r75483 (2.6) -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7044

[issue7155] urllib2 and python 3 urllib do not document default use of system proxy configuration

2009-10-17 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Thanks for the comments. Fixed and committed the changes trunk - 75478. and merged into release26-maint - 75479. py3k - r75476 release31-maint - r75477 -- resolution: accepted - fixed status: open - closed

[issue7044] urllib.urlopen crashes when used on Mac OS 10.6.1 through a proxy

2009-10-16 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I've posted a patch for this in Issue7149. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7044 ___

[issue7154] urllib.request system proxy configuration lookup broken for OS X in Python 3

2009-10-16 Thread Ned Deily
New submission from Ned Deily n...@acm.org: On OS X, urllib.request in Python 3 is supposed to use the operating system's proxy configuration by default, unless overridden by environment variables or by the caller providing an explicit proxy configuration. In Python 2, urllib

[issue7155] urllib2 and python 3 urllib do not document default use of system proxy configuration

2009-10-16 Thread Ned Deily
New submission from Ned Deily n...@acm.org: Several issues with urllib/urllib2 documentation regarding proxy usage: 1. The Macintosh proxy description in section 21.5.1 is out-of-date: In a Macintosh environment, urlopen() will retrieve proxy information from Internet Config

[issue7155] urllib2 and python 3 urllib do not document default use of system proxy configuration

2009-10-16 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: I have attached a docs patch against the trunk. Please provide your review comments. If its okay, I can commit it and have the information (urllib2.rst) for the Python 3k too. -- assignee: georg.brandl - orsenthil keywords: +patch

[issue7155] urllib2 and python 3 urllib do not document default use of system proxy configuration

2009-10-16 Thread Ned Deily
Ned Deily n...@acm.org added the comment: One comment: + :envvar:`protocol_proxy`. In a Windows environment, if no proxy + environment variables are set, proxy settings are obtained from the + registry's Internet Settings section. In a Mac OS X environment, proxy + information

[issue7044] urllib.urlopen crashes when used on Mac OS 10.6.1 through a proxy

2009-10-15 Thread Ned Deily
Ned Deily n...@acm.org added the comment: See also Issue7149. -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7044 ___ ___

[issue7044] urllib.urlopen crashes when used on Mac OS 10.6.1 through a proxy

2009-10-15 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7044 ___ ___ Python-bugs-list

python multiprocessing proxy

2009-10-05 Thread DrFalk3N
I have a 2 processes: the first process is manager.py and starts in backgroung: from multiprocessing.managers import SyncManager, BaseProxy from CompositeDict import * class CompositeDictProxy(BaseProxy): _exposed_ = ('addChild', 'setName') def addChild(self,

[issue7044] urllib.urlopen crashes when used on Mac OS 10.6.1 through a proxy

2009-10-02 Thread jweber
urllib.urlopen using a proxy: File /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib. py, line 87, in urlopen return opener.open(url) File /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib. py, line 206, in open return getattr(self, name)(url

[issue7044] urllib.urlopen crashes when used on Mac OS 10.6.1 through a proxy

2009-10-02 Thread jweber
jweber ja...@jacobweber.com added the comment: Let me know if you need me to create a test caseit doesn't seem to happen in all situations. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7044

Socket Programming through Proxy

2009-09-22 Thread Arnab Chakraborty
I have written client-server programs in python. They seem to be working fine in the same computer, even on two different computers when directly connected through a Lan wire, but it wouldn't work in my college LAN. I think it is due to the proxy server through which all the computers in our LAN

Re: I look for proxy cache like apt-proxy (for Debian Package) but for python eggs package…

2009-09-21 Thread KLEIN Stéphane
Le Sun, 20 Sep 2009 18:33:10 +0200, Klein Stéphane a écrit : Hi, I look for a tools to do proxy cache like apt-proxy (for Debian Package) but for python eggs package. Can a easy-install option perform this feature ? I found somethings to do that : http://pypi.python.org/pypi

I look for proxy cache like apt-pro xy (for Debian Package) but for python eggs package…

2009-09-20 Thread Klein Stéphane
Hi, I look for a tools to do proxy cache like apt-proxy (for Debian Package) but for python eggs package. Can a easy-install option perform this feature ? Thanks for your help, Stephane -- http://mail.python.org/mailman/listinfo/python-list

Re: I look for proxy cache like apt-proxy (for Debian Package) but for python eggs package…

2009-09-20 Thread Diez B. Roggisch
Klein Stéphane schrieb: Hi, I look for a tools to do proxy cache like apt-proxy (for Debian Package) but for python eggs package. Can a easy-install option perform this feature ? No. But you might install EggBasket, which is a PyPI-like server. http://www.chrisarndt.de/projects

[issue6853] system proxy not used for https (on windows)

2009-09-06 Thread lplatypus
New submission from lplatypus l...@deller.id.au: On Windows, the urllib2 module (renamed to urllib.request in python 3) does not use the system web proxy for https URLs in the case where Use the same proxy for all protocols is selected in the Internet Explorer proxy settings. Attached

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-07-26 Thread Senthil
Senthil orsent...@gmail.com added the comment: Agreed to the suggestions made by Greg. The fix is now backported. For Py2.6 in the revision 74203. For Py3k in the revision 74204. Closing this issue. -- status: open - closed ___ Python tracker

[issue1448934] urllib2+https+proxy not working

2009-07-26 Thread Senthil
Senthil orsent...@gmail.com added the comment: Well, the fix for this same as that for Issue1424152. Closing this issue as it is already handled. -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-07-25 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: *Rereads latest patch* I'm happy with this being backported as a bugfix to 3.1 and 2.6 so long as the set_tunnel method is hidden. Call it _set_tunnel() in the backport (and don't document its existence). --

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-07-24 Thread Senthil
Senthil orsent...@gmail.com added the comment: Fixed for 3.2 in py3k branch revision 74198. Asked python-dev for objections on back porting changes 2.6. Shall back port changes to py2.6 and py3.1 -- ___ Python tracker rep...@bugs.python.org

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-07-24 Thread Senthil
Changes by Senthil orsent...@gmail.com: -- resolution: - fixed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1424152 ___ ___ Python-bugs-list

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-07-17 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Personally I would like to see that happen, but I think you should probably poll python-dev since it can be argued either way as to whether it is a bug fix or a new feature. FWIW, from the feeder bug reports it looks to me like the users

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-07-17 Thread James Broadhead
James Broadhead jamesbroadh...@gmail.com added the comment: +1 to the above. (imo, this is a bugfix, not a new feature) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1424152 ___

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-07-17 Thread Hans Lellelid
Hans Lellelid h...@velum.net added the comment: Personally, I also think that this is a bugfix, though I realize that in order to fix the bug an API addition had to be made. So +1 from me on rolling into 2.6 (though my opinion is simply that of someone who's eager to see it fixed). --

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-07-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Note that this bug is also of concern to Ubuntu. See for example https://bugs.launchpad.net/python/+bug/94130. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-07-16 Thread Senthil
Senthil orsent...@gmail.com added the comment: This is actually fixed in Py2.7 and I am trying to get it Py3.2 before marking this as fixed. Based on the comments, should this be backported to Py2.6? -- ___ Python tracker rep...@bugs.python.org

[issue1448934] urllib2+https+proxy not working

2009-07-08 Thread Peter Funk
Peter Funk p...@users.sourceforge.net added the comment: I stumbled about this here because of testing the Ubuntuone project: http://en.oreilly.com/oscon2009/public/schedule/detail/8843 The client for the ubuntuone cloud computing suffers from being unable to connect through a HTTPS proxy

[issue1448934] urllib2+https+proxy not working

2009-07-08 Thread Senthil
Senthil orsent...@gmail.com added the comment: I noticed this one yesterday. There is a similar issue Issue1424152, the fix for which is available in Py2.7. Would you try to that patch? -- versions: +Python 3.1, Python 3.2 ___ Python tracker

[issue1448934] urllib2+https+proxy not working

2009-07-08 Thread Senthil
Changes by Senthil orsent...@gmail.com: -- assignee: - orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1448934 ___ ___ Python-bugs-list

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-07-06 Thread Jarek
Jarek jarek@gmail.com added the comment: +1 for mercurial inoperability from behind proxy -- nosy: +jarek.jpa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1424152

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-06-28 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Senthil, are you still working on the 3.x version of the patch? -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1424152

[issue6286] distutils upload command doesn't work with http proxy

2009-06-28 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: merged in 3.2 in r73645 -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6286 ___

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-06-28 Thread Senthil
Senthil orsent...@gmail.com added the comment: Senthil, are you still working on the 3.x version of the patch? Sorry for the delay. I got to work on it. Shall start and shall try to get it in soon. -- ___ Python tracker rep...@bugs.python.org

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-06-24 Thread Craig McQueen
Craig McQueen ces-...@mcqueen.id.au added the comment: @gregory.p.smith: This change is not suitable for back porting as it arguably adds a new feature. Speaking as a Mercurial user who can't use Mercurial at work through a proxy firewall... I beg you to consider that fixing

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-06-24 Thread Senthil
Senthil orsent...@gmail.com added the comment: Craig McQueen comment: Speaking as a Mercurial user who can't use Mercurial at work through a proxy firewall... I beg you to consider that fixing this is not really We might have to take this up at python-dev. I shall do that to get other

error when use libgmail with proxy

2009-06-22 Thread 马不停蹄的猪
Hi all, Does anybody use libgmail with proxy? I met error here. Below is code snip: libgmail.PROXY_URL = G_PROXY # the proxy url self.ga = libgmail.GmailAccount(account,pwd) self.ga.login() Error information: ga.login () File C:\Python25\Lib\site-packages

Re: error when use libgmail with proxy

2009-06-22 Thread Vincent
On Jun 22, 3:33 pm, 马不停蹄的猪 sunrui...@gmail.com wrote: Hi all, Does anybody use libgmail with proxy? I met error here. Below is code snip: libgmail.PROXY_URL = G_PROXY # the proxy url self.ga = libgmail.GmailAccount(account,pwd) self.ga.login() Error information

Re: error when use libgmail with proxy

2009-06-22 Thread eGlyph
On 22 июн, 10:33, 马不停蹄的猪 sunrui...@gmail.com wrote: Hi all, Does anybody use libgmail with proxy? I met error here. I wouldn't recommend to use this module at all. It was writtent at the time when no IMAP was available at Google. Now there are POP and IMAP, so it's better to use them. -- http

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-06-22 Thread Andrew Trick
Andrew Trick andrew.tr...@gmail.com added the comment: With this patch, I continued to get the following error SSL23_GET_SERVER_HELLO Until my coworker finally found a fix posted by Philippe Biondi: +++ b/mercurial/keepalive.py @@ -237,6 +237,8 @@ else: # no

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-06-22 Thread Senthil
Senthil orsent...@gmail.com added the comment: AndrewTrick: I am assuming your last comment is more relevant to mercurial's use of the set_tunnel, the facility provided by the patch, that is solving the issue for you. You had earlier pointed out mercurial's dependency upon this issue too. The

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-06-22 Thread Andrew Trick
Andrew Trick andrew.tr...@gmail.com added the comment: I should have pointed out that my secondary problem was a mercurial dependency on the urllib patch. I just wanted Mercurial users to get a complete fix. I figure they will be looking for a fix in the python bug report, and need to be told

[issue6286] distutils upload command doesn't work with http proxy

2009-06-15 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: upload is base on httplib and doesn't use the http_proxy envrionment variable. So it's impossible to upload a file behind a firewall. Let's change the command so it uses a proxy if set -- assignee: tarek components: Distutils

[issue6286] distutils upload command doesn't work with http proxy

2009-06-15 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- type: - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6286 ___ ___

[issue6286] distutils upload command doesn't work with http proxy

2009-06-15 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: done in r73436. Will merge it into 3.2 after 3.1 is tagged. I am leaving this issue open until the merge in 3.2 is done. -- ___ Python tracker rep...@bugs.python.org

Urllib2 proxy settings

2009-06-01 Thread K-Dawg
Hello, I am having trouble with an application running on a linux server. It keeps reverting to old proxy settings and messing up the web application. I have checked everything I can think of, and since the application is written in Python and uses urllib to call a web service (which is where

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-05-24 Thread Senthil
Senthil orsent...@gmail.com added the comment: Fixed for Py2x in the revision 72880. Tested it on a Squid Proxy setup and found it working fine. Should this be backported? For Py3k, the Request class has undergone changes since the patch was developed, I am modifying the patch for Py3k

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-05-24 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: I added a versionadded: 2.7 note to the docs in r72890. This change is not suitable for back porting as it arguably adds a new feature. -- ___ Python tracker rep...@bugs.python.org

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-05-20 Thread James Broadhead
James Broadhead jamesbroadh...@gmail.com added the comment: Has there been any progress on this since January? It is causing/affecting: http://www.selenic.com/mercurial/bts/issue967 -- nosy: +jamesbroadhead ___ Python tracker

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-05-20 Thread Hans L
Hans L h...@velum.net added the comment: These patches (well, the 2.6 patch) works for me. If there's something I can do to help get this accepted/applied, I'd be happy to do it. Obviously, I had no part in these patches, but I can take a stab at updating documentation or something if that is

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-05-20 Thread Facundo Batista
Facundo Batista facu...@taniquetil.com.ar added the comment: Hans, please take a look to my comment 79573 in this same bug. If you could do that, it'd be amazing... Thank you! -- ___ Python tracker rep...@bugs.python.org

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-05-20 Thread Hans Lellelid
Hans Lellelid h...@velum.net added the comment: Sure -- I will tackle that this week; I hope I can come up with something satisfactory. As I have not provided doc patches before for Python I may need to spin up a bit on that (and of course on the exact meaning of the set_tunnel method in this

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-05-20 Thread Senthil
Senthil orsent...@gmail.com added the comment: Sorry for the delay. I know that patches work and I had tested them as well. I shall push those patches to trunk/p3k within this week. -- ___ Python tracker rep...@bugs.python.org

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-05-20 Thread Senthil
Senthil orsent...@gmail.com added the comment: Facundo Batista facu...@taniquetil.com.ar added the comment: Hans, please take a look to my comment 79573 in this same bug. If you could do that, it'd be amazing... Oops, had missed that one.. Shall update the patch, Facundo. --

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-05-20 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: reassigning to the volunteer to get this in :) -- assignee: facundobatista - orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1424152

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-05-16 Thread Alexander Solovyov
Changes by Alexander Solovyov pira...@piranha.org.ua: -- nosy: +piranha ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1424152 ___ ___

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-05-15 Thread Hans L
Changes by Hans L h...@velum.net: -- nosy: +hozn ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1424152 ___ ___ Python-bugs-list mailing list

Re: Call Web Service using proxy and http authentication

2009-05-14 Thread wdveloper
which requires an http authentication. To reach the ws, I must pass from a proxy http. So in the whole I need go through two authentications before getting the ws working. I am using SOAPpy and I'm getting quite crazy. I am able to arrange this problem with simple http calls using

Re: Call Web Service using proxy and http authentication

2009-05-13 Thread Steve Howell
pass from a proxy http. So in the whole I need go through two authentications before getting the ws working. I am using SOAPpy and I'm getting quite crazy. I am able to arrange this problem with simple http calls using urllib2 but for the ws i dont see any way out. Does anyone knows

Call Web Service using proxy and http authentication

2009-05-12 Thread wdveloper
Hi everyone, I am trying to call a webservice which requires an http authentication. To reach the ws, I must pass from a proxy http. So in the whole I need go through two authentications before getting the ws working. I am using SOAPpy and I'm getting quite crazy. I am able to arrange

<    2   3   4   5   6   7   8   9   10   11   >