Re: reporting proxy porting problem

2013-11-28 Thread Terry Reedy
On 11/28/2013 6:12 AM, Robin Becker wrote: I am in the process of porting reportlab to python3.3, one of the contributions is a module that implements a reporting proxy with a canvas that records all access calls and attribute settings etc etc. This fails under python3 because of differences

[issue19547] HTTPS proxy support missing without warning

2013-11-26 Thread Stefan Richter
Changes by Stefan Richter ste...@02strich.de: -- versions: +Python 2.6, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19547 ___

[issue19547] HTTPS proxy support missing without warning

2013-11-10 Thread Stefan Richter
New submission from Stefan Richter: When using urllib2 and specifying a HTTPS proxy when setting up a ProxyHandler, the library does not encrypt the traffic sent to the proxy server. This results in unpredictable behavior. Either the support should be implemented or an error raised

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

2013-11-10 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: -- assignee: tarek - jason.coombs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6286 ___ ___

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

2013-11-10 Thread Jason R. Coombs
Jason R. Coombs added the comment: This change didn't make it into Python 3.2 but is in 2.7. see issue19544 for details. -- nosy: +jason.coombs status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6286

[issue17518] urllib2 cannnot handle https and BasicAuth via Proxy.

2013-11-10 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17518 ___ ___ Python-bugs-list mailing list

[issue19547] HTTPS proxy support missing without warning

2013-11-10 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19547 ___ ___ Python-bugs-list mailing list

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

2013-11-10 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: -- versions: +Python 3.3, Python 3.4 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6286 ___

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

2013-11-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5e98c4e9c909 by Jason R. Coombs in branch '3.3': Issue #19544 and Issue #6286: Restore use of urllib over http allowing use of http_proxy for Distutils upload command, a feature accidentally lost in the rollback of distutils2.

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

2013-11-10 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6286 ___ ___ Python-bugs-list

[issue8083] urllib proxy interface is too limited

2013-10-20 Thread Martin Matusiak
Changes by Martin Matusiak numero...@gmail.com: -- nosy: +numerodix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8083 ___ ___ Python-bugs-list

Free Proxy site 2014

2013-09-27 Thread 23alagmy
Free Proxy site 2014 search is the first proxy supports proxy access blocked sites, browsing, and downloads without restrictions and also conceal your identity Pencah by 100% from the sites you visit http://natigaas7ab.net/wp/?p=14556 -- https://mail.python.org/mailman/listinfo/python-list

Re: Free Proxy site 2014

2013-09-27 Thread Dave Angel
On 27/9/2013 10:44, 23alagmy wrote: Free Proxy site 2014 search is the first proxy supports proxy access blocked sites, browsing, and downloads without restrictions and also conceal your identity Pencah by 100% from the sites you visit deleted link Sure, I'm going to trust going

[issue19012] liburl2: bad proxy configuration throws getaddrinfo error

2013-09-17 Thread Sjoerd
Sjoerd added the comment: That happens when citing things from the top of my head... it is not liburl2 but urllib2 that I used, excuse me. (And urlopen instead of openurl...) From http://docs.python.org/2/library/urllib2.html it seems to be a Standard Library module to me, am I mistaken? If

[issue19012] urllib2: bad proxy configuration throws getaddrinfo error

2013-09-17 Thread R. David Murray
are looking at :) -- resolution: invalid - stage: committed/rejected - status: closed - open title: liburl2: bad proxy configuration throws getaddrinfo error - urllib2: bad proxy configuration throws getaddrinfo error versions: +Python 2.7 -3rd party

[issue19012] liburl2: bad proxy configuration throws getaddrinfo error

2013-09-14 Thread R. David Murray
R. David Murray added the comment: The getaddrinfo error message should *not* refer to proxies, because getaddrinfo does not do anything involving proxy configuration. Presumably the error occurred when liburl2 tried to resolve the proxy. So, it is liburl2 that needs to make sure

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

2013-09-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: I have a slight fear that this patch could be considered as a feature addition in 2.7 urllib.py, I would like to quell that and ensure that behaviour expectation is consistent when using urllib or urllib2 and latest urllib/request.py modules. Also, tests +

[issue19012] liburl2: bad proxy configuration throws getaddrinfo error

2013-09-13 Thread Sjoerd
. Calling liburl2.openurl('http://www.google.com') gave me an getaddrinfo error. Therefore, I checked my DNS configuration, which seemed okay and I issued a socket.getaddrinfo('www.google.com'), which correctly returned an IP address. Finally, I found out that I had an old, non-existing (?) proxy

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

2013-09-12 Thread Lukas Wunner
Lukas Wunner added the comment: *ping* Anybody, please consider applying the patch I've submitted August 8th so that this issue gets fixed in Python 2.7's urllib.py. Thanks so much. -- ___ Python tracker rep...@bugs.python.org

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

2013-08-08 Thread Lukas Wunner
) proxy_bypass handling: URLopener.open() will route the request to one of the open_*() methods based on the type of the *request* url. However, if a proxy is defined, it instead routes the request based on the type of the *proxy* url. So far so good. But: In open_http(), the code checks

substituting proxy

2013-07-29 Thread Robin Becker
Before attempting to reinvent the wheel has anyone created an http(s) proxy that can replace the content for specific requests. Context: I have access to the client's test site, but a lot of the requests are dynamic and save html complete etc etc doesn't work properly. In addition lots

Proxy connection with Python

2013-06-25 Thread bevan jenkins
Hello, I have an issue that has been frustrating me for a while now. This is an update of a crosspost (http://stackoverflow.com/questions/16703936/proxy-connection-with-python) which I made over a month ago. I have been attempting to connect to URLs from python. I have tried: urllib2, urlib3

[issue8083] urllib proxy interface is too limited

2013-05-28 Thread Ankur Ankan
Changes by Ankur Ankan ankuran...@gmail.com: -- nosy: +Ankur.Ankan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8083 ___ ___ Python-bugs-list

[issue8083] urllib proxy interface is too limited

2013-05-27 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- assignee: - orsenthil nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8083 ___

[issue8238] Proxy handling

2013-05-26 Thread Mark Lawrence
Mark Lawrence added the comment: I can't even try to reproduce this as I've no corporate network as a test bed. Is this still an issue with Python 2.7 or the reworked urllib in Python 3.x? -- nosy: +BreamoreBoy ___ Python tracker

[issue8083] urllib proxy interface is too limited

2013-05-26 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang versions: +Python 3.4 -Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8083 ___

Re: ssl proxy server

2013-05-15 Thread Chris “Kwpolska” Warrick
On Tue, May 14, 2013 at 9:14 PM, Skip Montanaro s...@pobox.com wrote: I haven't touched the SpamBayes setup for the usenet-to-mail gateway in a long while. For whatever reason, this message was either held and then approved by the current list moderator(s), or (more likely) slipped through

Re: ssl proxy server

2013-05-15 Thread Zachary Ware
On Wed, May 15, 2013 at 1:58 PM, Chris “Kwpolska” Warrick kwpol...@gmail.com wrote: On Tue, May 14, 2013 at 9:14 PM, Skip Montanaro s...@pobox.com wrote: I haven't touched the SpamBayes setup for the usenet-to-mail gateway in a long while. For whatever reason, this message was either held and

ssl proxy server

2013-05-14 Thread 23alagmy
ssl proxy server http://natigtas7ab.blogspot.com/2013/05/ssl-proxy-server.html -- http://mail.python.org/mailman/listinfo/python-list

Re: ssl proxy server

2013-05-14 Thread Chris “Kwpolska” Warrick
On Tue, May 14, 2013 at 2:34 PM, 23alagmy hossamala...@gmail.com wrote: ssl proxy server hxxp://natigtas7ab.blogspot.com/2013/05/ssl-proxy-server.html -- http://mail.python.org/mailman/listinfo/python-list I have been seeing those mails for a long time. Why didn’t anybody ban that guy

Re: ssl proxy server

2013-05-14 Thread Skip Montanaro
, Chris “Kwpolska” Warrick kwpol...@gmail.com wrote: On Tue, May 14, 2013 at 2:34 PM, 23alagmy hossamala...@gmail.com wrote: ssl proxy server hxxp://natigtas7ab.blogspot.com/2013/05/ssl-proxy-server.html -- http://mail.python.org/mailman/listinfo/python-list I have been seeing those mails

devpi-server: lightning fast pypi.python.org proxy (0.7 initial release)

2013-05-06 Thread holger krekel
devpi-server: lightning-fast pypi.python.org proxy (0.7 initial) = This is the initial release of devpi-server, an easy-to-use caching proxy server for pypi.python.org, providing fast and reliable installs when used by pip

[issue4140] urllib2: request with digest auth through proxy fail

2013-04-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, RFC specifically states that The absoluteURI form is REQUIRED when the request is being made to a proxy. Thanks Jessica for making a note of that. Closing this issue as Invalid. -- dependencies: -urllib2 fails against IIS 6.0 (No support

[issue4140] urllib2: request with digest auth through proxy fail

2013-04-13 Thread Jessica McKellar
when the request is being made to a proxy. So I believe urllib2 has the correct, RFC-conforming behavior here by sending the full URI through a proxy, and the issue is with IIS. Thus, I recommend that we close this ticket as invalid. -- nosy: +jesstess

[issue17518] urllib2 cannnot handle https and BasicAuth via Proxy.

2013-03-22 Thread masato
(proxy_support,auth_handler) req = urllib2.Request(url) f = opener.open(req) print f.read() opener.open method throws an exception. I found a similar case at http://bugs.python.org/issue7291. However, this issue indicates a case of authentication at a proxy server. In my case

image transforming web proxy?

2013-03-12 Thread Skip Montanaro
download the whole kit-n-kaboodle, use any of a number of different tools to convert the images from xbm to png, then view things locally. I finally figured out that Opera supports xbm and downloaded it. I wonder though, if there is a Python-based web proxy out there which can transparently

Transparent Proxy and Redirecting Sockets

2013-02-21 Thread Luca Bongiorni
Hi all, Around I have found plenty useful sources about TCP transparent proxies. However I am still missing how to make socket redirection. What I would like to do is: host_A -- PROXY -- host_B ^ | host_C -- At the beginning the proxy is simply forwarding

Re: Transparent Proxy and Redirecting Sockets

2013-02-21 Thread Rodrick Brown
On Thu, Feb 21, 2013 at 10:24 AM, Luca Bongiorni bongi...@gmail.com wrote: Hi all, Around I have found plenty useful sources about TCP transparent proxies. However I am still missing how to make socket redirection. What I would like to do is: host_A -- PROXY -- host_B

Re: Transparent Proxy and Redirecting Sockets

2013-02-21 Thread Luca Bongiorni
is: host_A -- PROXY -- host_B ^ | host_C -- At the beginning the proxy is simply forwarding the data between A and B. Subsequently, when a parser catches the right pattern, the proxy quit the communication between A and B and redirect all the traffic

how to add socks proxy feature to script based on requests module?

2013-02-12 Thread xliiv
Hi! I've go a script which uses python requests (http://docs.python-requests.org/en/latest/). I need to add to it socks proxy feature. AFAIK requests doesn't support socks proxy (http://stackoverflow.com/questions/12601316/how-to-make-python-requests-work-via-socks-proxy) so i was about

how to change system-wide proxy settings by Python ?

2013-02-03 Thread iMath
I have already known a valid proxy server(63.141.216.159)and port(8087) which support both http and https protocols ,so how to change system-wide proxy settings to this proxy by Python ? I use WinXP ,can you show me an example of this ? thanks in advance ! -- http://mail.python.org/mailman

Re: how to change system-wide proxy settings by Python ?

2013-02-03 Thread Kwpolska
On Sun, Feb 3, 2013 at 4:34 PM, iMath redstone-c...@163.com wrote: I have already known a valid proxy server(63.141.216.159)and port(8087) which support both http and https protocols ,so how to change system-wide proxy settings to this proxy by Python ? I use WinXP ,can you show me

Re: how to change system-wide proxy settings by Python ?

2013-02-03 Thread Michael Torrie
On 02/03/2013 08:34 AM, iMath wrote: I have already known a valid proxy server(63.141.216.159)and port(8087) which support both http and https protocols ,so how to change system-wide proxy settings to this proxy by Python ? I use WinXP ,can you show me an example of this ? thanks in advance

Re: python: HTTP connections through a proxy server requiring authentication

2013-01-28 Thread Barry Scott
The shipped python library code does not work. See http://bugs.python.org/issue7291 for patches. Barry -- http://mail.python.org/mailman/listinfo/python-list

Re: python: HTTP connections through a proxy server requiring authentication

2013-01-28 Thread Saju M
Hi , Thanks barry, I solved that issue. I reconfigured squid3 with ncsa_auth, now its working same python code. Earlier I used digest_pw_auth. Actually I am trying to fix an issue related to python boto API. Please check this post https://groups.google.com/forum/#!topic/boto-users/1qk6d7v2HpQ

python: HTTP connections through a proxy server requiring authentication

2013-01-26 Thread sajuptpm
Hi, I followed http://dabase.com/blog/Minimal_squid3_proxy_configuration/ to setup proxy server. I tested my proxy server with firefox with IP:127.0.0.1 and Port:3128 and it working (asking for proxy username and password). But, i could not make http connection through proxy server requiring

Re: python: HTTP connections through a proxy server requiring authentication

2013-01-26 Thread sajuptpm
Hi, /etc/squid3/squid.conf --- saju@saju-Inspiron-N5010:~$ cat squid.conf | grep ^[^#] auth_param digest program /usr/lib/squid3/digest_pw_auth -c /etc/squid3/passwords auth_param digest realm saju-Inspiron-N5010 acl manager proto cache_object acl localhost src

Using cntlm as proxy

2012-11-20 Thread jorge2
Hi everyone. I'm using cntlm locally and I want my Python scripts to connect to some web, parse some data and come back with results all across my local proxy. I've tried a lot of example code but I still don't find what I need. I think I don't understand how urllib2 manages proxy. Help

proxy??

2012-11-20 Thread Jorge Alberto Diaz Orozco
Hi there. Does anyone knows how to manage headers using a simple proxy??? I'm doing this but It gives me problems In some pages. import SocketServer import SimpleHTTPServer import urllib2 PORT = class Proxy(SimpleHTTPServer.SimpleHTTPRequestHandler): def do_GET(self): try

Re: proxy??

2012-11-20 Thread Joshua Landau
On 20 November 2012 14:48, Jorge Alberto Diaz Orozco jaoro...@estudiantes.uci.cu wrote: Hi there. Does anyone knows how to manage headers using a simple proxy??? I'm doing this but It gives me problems In some pages. I don't know the answer, but I do know you'd get more favour if you

Re: proxy??

2012-11-20 Thread Jorge Alberto Diaz Orozco
...@estudiantes.uci.cu mailto:jaoro...@estudiantes.uci.cu wrote: Hi there. Does anyone knows how to manage headers using a simple proxy??? I'm doing this but It gives me problems In some pages. I don't know the answer, but I do know you'd get more favour if you explained whatproblems

[issue12967] IDLE RPC Proxy for standard IO streams lacks 'errors' attribute

2012-11-17 Thread Thomas Kluyver
Thomas Kluyver added the comment: It seems pretty arbitrary and newcomer-unfriendly to decide that Python doesn't support running setup.py inside IDLE. Exhibit A: confused newcomer trying to install distribute, getting unhelpful error message.

[issue12967] IDLE RPC Proxy for standard IO streams lacks 'errors' attribute

2012-11-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - duplicate status: open - pending superseder: - IDLE and Command line present different behavior for sys.stdin ___ Python tracker rep...@bugs.python.org

[issue12967] IDLE RPC Proxy for standard IO streams lacks 'errors' attribute

2012-11-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thomas, please re-read the messages starting msg145215 where it was decided that this is not an issue about setup.py in particular. There appears to now only be a problem if IDLE is run without a subprocess, and that option may disappear in 3.4 as unneeded.

[issue12967] IDLE RPC Proxy for standard IO streams lacks 'errors' attribute

2012-11-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Even though the title of #9290 says stdin, the patches are for all std** streams, so should cover this. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967

[issue12967] IDLE RPC Proxy for standard IO streams lacks 'errors' attribute

2012-11-17 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- stage: needs patch - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967 ___ ___

[issue12967] IDLE RPC Proxy for standard IO streams lacks 'errors' attribute

2012-10-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If this issue only about 'errors' attribute of IDLE RPC Proxy for standard IO streams, then it should be closed as outdated. If this issue about 'errors' attribute of IDLE standard IO streams (even when running IDLE without a subprocess), then the patches

[issue16095] urllib2 failing with squid proxy and digest authentication

2012-09-30 Thread Pietro Battiston
New submission from Pietro Battiston: If you run the following code: #! /usr/bin/python import urllib2 MyHTTPPasswordMgr = urllib2.HTTPPasswordMgr proxy = urllib2.ProxyHandler({'http': 'http://proxybiblio2.si.unimib.it:8080'}) auth = urllib2.ProxyDigestAuthHandler(MyHTTPPasswordMgr

[issue16095] urllib2 failing with squid proxy and digest authentication

2012-09-30 Thread Pietro Battiston
Changes by Pietro Battiston m...@pietrobattiston.it: -- versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16095 ___ ___

[issue16095] urllib2 failing with squid proxy and digest authentication

2012-09-30 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- assignee: - orsenthil nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16095 ___

[issue15928] Open url with proxy causes TypeError

2012-09-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: Have a look at the ProxyHandler example in the Examples here - http://docs.python.org/library/urllib2.html#examples Also, construct the full url properly with urlencoded data as params. Your report does not give any details of problem. -- nosy:

[issue15928] Open url with proxy causes TypeError

2012-09-12 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15928 ___ ___

[issue15928] Open url with proxy causes TypeError

2012-09-12 Thread zhang kai
zhang kai added the comment: Well, I do have encoded the params, that is not the problem. Also these code did work for most of the time, I don't know why this bug happen so I don't know any details about the problem. Sorry about that. -- ___ Python

[issue15928] Open url with proxy causes TypeError

2012-09-12 Thread R. David Murray
R. David Murray added the comment: What is proxy? Perhaps it does not implement readline correctly. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15928

[issue15928] Open url with proxy causes TypeError

2012-09-11 Thread zhang kai
New submission from zhang kai: Here is the code which causes this bug: proxy_handler = urllib2.ProxyHandler({'https': proxy}) opener = urllib2.build_opener(proxy_handler) f = opener.open(url+'?'+params) Here are the traceback information: Traceback (most recent call last): File proxy.py

[issue12967] IDLE RPC Proxy for standard IO streams lacks 'errors' attribute

2012-07-10 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com added the comment: Issue13532 has an applied patch (422242dbce30) for the subprocess that makes the stdout, stderr, and stdin inherit from io.TextIOBase. This includes the errors attribute, albeit set to ''. The fix does not apply when running IDLE without a

[issue12967] IDLE RPC Proxy for standard IO streams lacks 'errors' attribute

2012-07-03 Thread Glenn Linderman
Glenn Linderman v+pyt...@g.nevcal.com added the comment: So this looks like it might be a simple fix... in issue 1602, there was a patch for Windows console for 3.1... sadly not applied then, or 3.2, or 3.3 (yet). But in 3.2, the fix sprouted a failure just like this one: the console output

[issue12967] IDLE RPC Proxy for standard IO streams lacks 'errors' attribute

2012-07-03 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +serwy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967 ___ ___ Python-bugs-list mailing

[issue14577] pickling uses __class__ so you can't pickle proxy/mock objects that pretend to be other objects

2012-04-14 Thread Michael Foord
New submission from Michael Foord mich...@voidspace.org.uk: Pickling uses __class__ instead of type(obj) to determine the type to pickle. This means that objects which pretend to be other objects (like proxy and mock objects) can't be pickled correctly: class Foo(object): ... __class__

[issue14577] pickling uses __class__ so you can't pickle proxy/mock objects that pretend to be other objects

2012-04-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Have you tried making a change and see if any tests fail? This is a behaviour change and I wonder if the original behaviour is by design or accident. -- components: +Library (Lib) nosy: +alexandre.vassalotti, pitrou type: - enhancement

[issue14577] pickling uses __class__ so you can't pickle proxy/mock objects that pretend to be other objects

2012-04-14 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: So, changing copyreg.py to use type(self) instead of self.__class__ isn't sufficient. _pickle accesses __class__ as well it seems. However I'm running all tests with this change in place to see if it breaks intended behaviour: Python

[issue14577] pickling uses __class__ so you can't pickle proxy/mock objects that pretend to be other objects

2012-04-14 Thread Michael Foord
the __class__ rather than the raw type I wonder what the use case for that is? If you serialize a proxy object, why would the deserialization code not want a proxy back too? I guess I can look at implementing copyreg functions for my objects instead

[issue14577] pickling uses __class__ so you can't pickle proxy/mock objects that pretend to be other objects

2012-04-14 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: -- resolution: - wont fix stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14577 ___

[issue14577] pickling uses __class__ so you can't pickle proxy/mock objects that pretend to be other objects

2012-04-14 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Some additional thoughts for anyone else that comes across this issue. Consider the case of a weakref proxy (the only proxy type in the stdlib): for that, you never want to serialise the proxy, you want to serialise the original object

[issue14577] pickling uses __class__ so you can't pickle proxy/mock objects that pretend to be other objects

2012-04-14 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Nick - in general proxy objects have a *reference* to their target (weakref being somewhat of a special case), and pickle can already handle multiple references to the same target when deserializing an object graph. So I don't see

sec-wall 1.1 / A feature packed security proxy

2012-03-01 Thread Dariusz Suchojad
various authentication methods can be directly imported from Python code What is sec-wall? - sec-wall is a feature packed security proxy. sec-wall has many interesting features, including support for SSL/TLS, WS-Security, HTTP Auth Basic/Digest, extensible authentication schemes

Re: ldap proxy user bind

2012-02-12 Thread Michael Ströder
sajuptpm wrote: Yea i am not totally clear about that Client's Requirement is option to have a ldap proxy user bind to the ldap server if it needs more directory rights than an anonymous bind. option to use a ldap proxy user when searching. As said: there's the proxy authorization control

Re: ldap proxy user bind

2012-02-11 Thread Michael Ströder
sajuptpm wrote: I have developed a LDAP auth system using python-ldap module. Using that i can validate username and password, fetch user and groups info from LDAP directory. Now i want to implement ldap proxy user bind to the ldap server. What do you mean exactly? Are you talking about

Re: ldap proxy user bind

2012-02-11 Thread Michael Torrie
On 02/11/2012 02:19 PM, sajuptpm wrote: Hi Michael Ströder, Thanks for replay Yea i am not totally clear about that Client's Requirement is option to have a ldap proxy user bind to the ldap server if it needs more directory rights than an anonymous bind. option to use a ldap proxy user

Re: ldap proxy user bind

2012-02-11 Thread Michael Torrie
On 02/11/2012 08:35 PM, Michael Torrie wrote: On 02/11/2012 02:19 PM, sajuptpm wrote: Hi Michael Ströder, Thanks for replay Yea i am not totally clear about that Client's Requirement is option to have a ldap proxy user bind to the ldap server if it needs more directory rights than

Re: ldap proxy user bind

2012-02-11 Thread sajuptpm
Hi Michael Torrie, Thanks to reply Why we need Twisted here, i did not get it. My understanding is that if ldap_proxy_user = ldap_proxy ldap_proxy_pwd = secret ( set more privileges to this user at ldap server side, for get other users infos) are configured at server side, then allow clients to

ldap proxy user bind

2012-02-10 Thread sajuptpm
I have developed a LDAP auth system using python-ldap module. Using that i can validate username and password, fetch user and groups info from LDAP directory. Now i want to implement ldap proxy user bind to the ldap server. I googled and find this http://ldapwiki.willeke.com/wiki/LDAPProxyUser

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

2011-11-15 Thread xhantu
xhantu pwo...@rz-online.de added the comment: Confirmed for Python 2.7.1 on Ubuntu. Problematic are the __reduce__ methods of multiprocessing.process.AuthenticationString and multiprocessing.managers.BaseProxy. Pickling of an authkey in BaseProxy is only done and allowed when

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

2011-11-15 Thread xhantu
xhantu pwo...@rz-online.de added the comment: forgot to set version in classification -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7503 ___

[issue12967] IDLE RPC Proxy for standard IO streams lacks 'errors' attribute

2011-10-14 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Thank you for redirecting this issue. The goal should be to make the proxies completely transparent. They mostly are, but occasional issues arise when they are not. Sometimes the source of a problem is not clear. I wonder, for instance,

[issue12967] IDLE RPC Proxy for standard IO streams lacks 'errors' attribute

2011-10-14 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967 ___ ___

[issue12967] IDLE RPC Proxy for standard IO streams lacks 'errors' attribute

2011-10-08 Thread Ned Deily
Ned Deily n...@acm.org added the comment: I don't have a strong opinion about whether running setup.py in IDLE is supported. But that's not the real issue here. The problem is that the IDLE RPC proxy of the standard IO streams is incomplete, in particular, the 'errors' attribute

[issue12967] IDLE RPC Proxy for standard IO streams lacks 'errors' attribute

2011-10-08 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: -eric.araujo, tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967 ___ ___

Re: PUT with proxy-support

2011-08-26 Thread Laszlo Nagy
a sysadmin problem. I could install pycurl under freebsd and ubuntu too. I have some code that might be able to PUT through a proxy for you. Please look at the attached file. You can setup a proxy this way: import MozzillaEmulator MozzillaEmulator.DEFAULT_PROXIES = { 'http':'http

Re: PUT with proxy-support

2011-08-26 Thread Shashwat Anand
' failed with exit status 1 I'm not familiar with red hat. But looks like this is now a sysadmin problem. I could install pycurl under freebsd and ubuntu too. I have some code that might be able to PUT through a proxy for you. Please look at the attached file. You can setup a proxy this way

PUT with proxy-support

2011-08-25 Thread Shashwat Anand
I want to make a PUT request. I need some headers of my own ( certificates etc ) and I need to mandatorily use a proxy. Also the url is of the form http://www.xyz.com/abc and I don't have permission to put data on http://www.xyz.com while I do have permission to put data on http://www.xyz.com/abc

Re: PUT with proxy-support

2011-08-25 Thread Thomas Jollans
On 25/08/11 13:07, Shashwat Anand wrote: I want to make a PUT request. I need some headers of my own ( certificates etc ) and I need to mandatorily use a proxy. Also the url is of the form http://www.xyz.com/abc and I don't have permission to put data on http://www.xyz.com while I do have

Re: PUT with proxy-support

2011-08-25 Thread Shashwat Anand
On Thu, Aug 25, 2011 at 4:48 PM, Thomas Jollans t...@jollybox.de wrote: On 25/08/11 13:07, Shashwat Anand wrote: I want to make a PUT request. I need some headers of my own ( certificates etc ) and I need to mandatorily use a proxy. Also the url is of the form http://www.xyz.com/abc

Re: PUT with proxy-support

2011-08-25 Thread Shashwat Anand
On Thu, Aug 25, 2011 at 4:48 PM, Max Countryman m...@me.com wrote: Check out the python Requests module: http://docs.python-requests.org/en/latest/index.html Python request module is not documented very well IMHO. I tried to figure how to make PUT calls, how to add proxy, how to add

Re: PUT with proxy-support

2011-08-25 Thread Laszlo Nagy
=.AeEYJMMfElN74fnWD3GlXJ4J.1KiQFg-- --proxy proxy.xyz.com:3128 http://proxy.xyz.com:3128 -H Content-Type:text/plain If you can do it with command line curl then probably you can do it with pycurl. http://pycurl.sourceforge.net/ Best, Laszlo -- http://mail.python.org/mailman/listinfo/python-list

Re: PUT with proxy-support

2011-08-25 Thread Shashwat Anand
=10.10.0.1;t=1316594650;s=.AeEYJMMfElN74fnWD3GlXJ4J.1KiQFg-- --proxy proxy.xyz.com:3128 -H Content-Type:text/plain If you can do it with command line curl then probably you can do it with pycurl. http://pycurl.sourceforge.net/ Yeah. I tried that. The system is RHEL 4. So it gave me this error

Re: PUT with proxy-support

2011-08-25 Thread Max Countryman
use a proxy. Also the url is of the form http://www.xyz.com/abc and I don't have permission to put data on http://www.xyz.com while I do have permission to put data on http://www.xyz.com/abc I tried httplib, httplib2, urllib2 with no avail. I managed to do this via command line curl

[issue12480] urllib2 doesn't use proxy (fieddler2), configed the proxy with ProxyHandler

2011-07-26 Thread Peter Bumbulis
Peter Bumbulis pbumbu...@gmail.com added the comment: proxy_bypass_registry in urllib.py does not handle the ProxyOverride registry value properly: it treats an empty override as *, i.e. bypass the proxy for all hosts. This behavior does not match other programs (e.g. Chrome) and can

[issue12480] urllib2 doesn't use proxy (fieddler2), configed the proxy with ProxyHandler

2011-07-26 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- assignee: - orsenthil nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12480 ___

HTTP Proxy : receive call on local socket takes a lot of time

2011-07-09 Thread Rémi
Hi all, I am currently working on a HTTP Proxy. For maximum flexibility, I am implementing the proxy at a low level : I am using the SocketServer library. The server itself is very simple: class MyTCPServer(SocketServer.TCPServer): allow_reuse_address = 1 and the handler looks like

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