here's my code. I've change the port from to .
import urllib2
proxy_support = urllib2.ProxyHandler({'http':'http://127.0.0.1:'})
opener = urllib2.build_opener(proxy_support, urllib2.HTTPHandler)
urllib2.install_opener(opener)
content = urllib2.urlopen('http://www.google.com').read()
2011/7/5 成都七中2002级7班_大家都是天才~ liu.liuwei@gmail.com:
2. If I open fiddler, everything works great. But I can't see the
traffic in fiddler. And if I change port from to any other
number, it works find too.
It sounds to me like the traffic's going through fiddler, but you're
just not
New submission from Or yellowsli...@gmail.com:
I have fieddler2 listening on 0.0.0.0:.
this code is suppose to use the proxy on my localhost.
try:
data = ''
proxy = urllib2.ProxyHandler({'http': '127.0.0.1:'}) //also tried
{'http': 'http://127.0.0.1:/'}
opener
Or yellowsli...@gmail.com added the comment:
I have fieddler2 listening on 0.0.0.0:.
this code is suppose to use the proxy on my localhost.
try:
proxy = urllib2.ProxyHandler({'http': '127.0.0.1:'}) //also tried
{'http': 'http://127.0.0.1:/'}
opener = urllib2.build_opener
Thomas Holmes tho...@devminded.com added the comment:
I setup a proxy and it seems to be working properly. This is on win7 x64
professional using Python 2.7.1
I didn't using any sniffing software but if I broke the proxy the code broke.
When I enabled the proxy it started working again. My
Roundup Robot devnull@devnull added the comment:
New changeset b89d193cbca5 by R David Murray in branch '2.7':
#11700: proxy object close methods can now be called multiple times
http://hg.python.org/cpython/rev/b89d193cbca5
New changeset 8319db2dd342 by R David Murray in branch '3.2':
#11700
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
title: mailbox.py proxy updates - mailbox.py proxy close method cannot be
called multiple times
type: - behavior
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11375
___
___
()
+except:
+self.fail('.close() doesn\'t handle multiple invocations')
def test_iterkeys(self):
# Get keys using iterkeys()
@@ -1774,6 +1779,68 @@
proxy.seek(2)
self.assertEqual(proxy.read(1000), b'r')
+def _test_read1(self, proxy):
+# Read
Changes by Steffen Daode Nurpmeso sdao...@googlemail.com:
Removed file: http://bugs.python.org/file22095/11700.yeah-review.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11700
___
Antoine Pitrou pit...@free.fr added the comment:
Looks like a bug in the third-party socks module rather than in urllib. You
should report it there.
--
nosy: +pitrou
resolution: - invalid
status: open - pending
___
Python tracker
Changes by torstenb torst...@vmunix.org:
--
nosy: +torstenb
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11375
___
___
Python-bugs-list mailing
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
On Sat, Apr 16, 2011 at 08:17:30PM +, R. David Murray wrote:
[...] rather odd considering that there is also a 'closed'
method that would fail similarly if close was ever called.
Maybe someone got not enough feedback after
R. David Murray rdmur...@bitdance.com added the comment:
Ah. Well, since the io module and its classes didn't exist when that code in
mailbox.py was written, no, that's not what happened :)
Nor does 'file like object' in Python necessarily mean conformance to the io
specification. We are
R. David Murray rdmur...@bitdance.com added the comment:
Updated patch addressing Stefen and Ezio's comments.
--
Added file: http://bugs.python.org/file21699/mailbox_close_twice.patch
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
Here's a patch that fixes the reported bug (calling close twice fails with an
AttributeError) the simple way.
Note that there was actually a test for the buggy behavior, which is rather odd
considering that there is also a 'closed'
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
Amaury Forgeot d'Arc wrote:
mbf.close() should not fail when called twice. The close() method in the io
module states that This method has no effect if the file is already
closed.
But then, is close=False necessary?
I see
')
def test_iterkeys(self):
# Get keys using iterkeys()
@@ -1774,6 +1779,68 @@
proxy.seek(2)
self.assertEqual(proxy.read(1000), b'r')
+def _test_read1(self, proxy):
+# Read by byte
+proxy.seek(0)
+self.assertEqual(proxy.read1(3), b'bar
_test_read1(self, proxy):
+# Read by byte
+proxy.seek(0)
+self.assertEqual(proxy.read1(3), b'bar')
+proxy.seek(1)
+self.assertEqual(proxy.read1(2), b'ar')
+proxy.seek(0)
+self.assertEqual(proxy.read1(2), b'ba')
+proxy.seek(1
() doesn\'t handle multiple invocations')
def test_iterkeys(self):
# Get keys using iterkeys()
@@ -1774,6 +1779,55 @@
proxy.seek(2)
self.assertEqual(proxy.read(1000), b'r')
+def _test_readinto(self, proxy):
+# Fill in bytearray
+proxy.seek(0
()
@@ -1833,10 +1835,35 @@
self.assertFalse(proxy.read())
def _test_close(self, proxy):
-# Close a file
+self.assertFalse(proxy.closed)
+self.assertTrue(proxy.seekable())
+self.assertRaises(io.UnsupportedOperation, proxy.flush)
+self.assertRaises
R. David Murray rdmur...@bitdance.com added the comment:
I don't understand what you are saying about raising a ValueError on close. f
= open('x'); f.close(); f.close() does not raise any error, as Amaury pointed
out.
So I still don't understand the motivation for a more complex fix.
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
On Thu, Apr 07, 2011 at 04:41:52PM +, R. David Murray wrote:
R. David Murray rdmur...@bitdance.com added the comment:
I don't understand what you are saying about raising a ValueError on close.
f = open('x'); f.close();
R. David Murray rdmur...@bitdance.com added the comment:
Given your problem report wouldn't the simplest solution be to change the close
method to be:
if hasattr(self, '_file'):
if hasattr(self._file, 'close'):
self._file.close()
del self._file
As for a test, it
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
On Mon, Mar 28, 2011 at 09:52:43PM +, Amaury Forgeot d'Arc wrote:
But then, is close=False necessary?
It's about 'class _PartialFile(_ProxyFile)', for which this
argument is always false.
Alternatively there could be a
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
This new patch adheres your suggestion.
Now all implemented operations perform
a file is open at all check and raise
ValueError if not, which somewhat reflects
what i've seen when i was looking into fileio.c.
My questions:
-
New submission from Steffen Daode Nurpmeso sdao...@googlemail.com:
I'll send a patch that updates/fixes handling of
file closes in the internal proxy-file classes.
It could cause errors yet because self._file is
del-eted but that field may still be used afterwards.
mb = mailbox.Maildir
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
Here's the patch.
--
keywords: +patch
Added file: http://bugs.python.org/file21438/11700.1.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11700
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
mbf.close() should not fail when called twice. The close() method in the io
module states that This method has no effect if the file is already closed.
But then, is close=False necessary?
--
nosy: +amaury.forgeotdarc
stage: -
On 22 Mar, 00:02, Chris Rebert c...@rebertia.com wrote:
On Mon, Mar 21, 2011 at 2:38 AM, gervaz ger...@gmail.com wrote:
Hi all,
I've got to download some web pages but I'm behind a proxy. So far
this is what I've used without any successful result receiving the
error
On 22 Mar, 09:34, gervaz ger...@gmail.com wrote:
On 22 Mar, 00:02, Chris Rebert c...@rebertia.com wrote:
On Mon, Mar 21, 2011 at 2:38 AM, gervaz ger...@gmail.com wrote:
Hi all,
I've got to download some web pages but I'm behind a proxy. So far
this is what I've used without any
behind a proxy. So far
this is what I've used without any successful result receiving the
error: urllib.error.HTTPError: HTTP Error 407: Proxy Authentication
Required ( The ISA Server requires auth
orization to fulfill the request. Access to the Web Proxy filter is
denied. ):
hc
Hi all,
I've got to download some web pages but I'm behind a proxy. So far
this is what I've used without any successful result receiving the
error: urllib.error.HTTPError: HTTP Error 407: Proxy Authentication
Required ( The ISA Server requires auth
orization to fulfill the request. Access
On Mon, Mar 21, 2011 at 2:38 AM, gervaz ger...@gmail.com wrote:
Hi all,
I've got to download some web pages but I'm behind a proxy. So far
this is what I've used without any successful result receiving the
error: urllib.error.HTTPError: HTTP Error 407: Proxy Authentication
Required ( The ISA
On Mar 21, 7:02 pm, Chris Rebert c...@rebertia.com wrote:
On Mon, Mar 21, 2011 at 2:38 AM, gervaz ger...@gmail.com wrote:
Hi all,
I've got to download some web pages but I'm behind a proxy. So far
this is what I've used without any successful result receiving the
error
New submission from Scott Wilson scott.wil...@gmail.com:
Fixes a bug in the os x proxy bypass code for fully qualified IP addresses in
the proxy exception list.
Tests that fail on os x without this patch:
test_urllib2.HandlerTests.test_proxy_https
test_urllib2
Changes by Scott Wilson scott.wil...@gmail.com:
--
nosy: +orsenthil -ronaldoussoren
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11500
___
Scott Wilson scott.wil...@gmail.com added the comment:
This patch adds test coverage to the osx proxy bypass code and includes the
previous one line patch.
Also adds a test for the proxy_no=* case.
--
Added file: http://bugs.python.org/file21134/proxy_bypass_osx_w_tests.diff
Ronald Oussoren ronaldousso...@mac.com added the comment:
Patch looks great, I'll commit shortly.
Thanks for the patch.
--
nosy: +ronaldoussoren
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11500
New submission from Scott Wilson scott.wil...@gmail.com:
Several proxy tests in test_urllib2_localnet were failing for me on osx due to
spurious interference of my configured proxy settings. Attaching a patch that
proposes exposing the proxy bypass settings in the same manner as the proxies
Roundup Robot devnull@devnull added the comment:
New changeset 682903e066db by Ronald Oussoren in branch '3.1':
Issue #11500: Fixed a bug in the os x proxy bypass code for fully qualified IP
addresses in the proxy exception list
http://hg.python.org/cpython/rev/682903e066db
New changeset
Ronald Oussoren ronaldousso...@mac.com added the comment:
The patch got merged.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11500
Changes by R. David Murray rdmur...@bitdance.com:
--
stage: - patch review
type: behavior - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11511
___
communications go through SOCKS4A proxy
Actual result: DNS lookup of example.com goes through default gateway, followed
by HTTP connection via the proxy
--
components: Library (Lib)
messages: 129899
nosy: OJW
priority: normal
severity: normal
status: open
title: urllib2 over SOCKS doesn't use
Changes by Jérôme Radix jerome.ra...@gmail.com:
--
nosy: +jerome.radix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11375
___
___
Changes by Senthil Kumaran orsent...@gmail.com:
--
assignee: - orsenthil
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11375
___
Proxy to open blocked sites
http://ppropx.4mtm.net
OR
http://pronet.4mtm.net
--
http://mail.python.org/mailman/listinfo/python-list
Barry Scott barry.sc...@onelan.co.uk added the comment:
The attached patch builds on Mike's work.
The core of the problem is that the Request object
did not know what was going on. This means that it
was not possible for get_authorization() to work
for proxy-auth and www-auth.
I change Request
Barry Scott barry.sc...@onelan.co.uk added the comment:
Attached is the code I used to test these changes.
See the README.txt file for details include
the results of a test run.
--
Added file: http://bugs.python.org/file20822/urllib2_tests.tar.gz
___
Barry Scott barry.sc...@onelan.co.uk added the comment:
I left out some white space changes to match the style
of the std lib code. Re posting with white space cleanup.
--
Added file: http://bugs.python.org/file20824/http_proxy_https.patch
___
Python
Changes by Barry Scott barry.sc...@onelan.co.uk:
Removed file: http://bugs.python.org/file20821/http_proxy_https.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7291
___
Mike Beachy mbea...@gmail.com added the comment:
I've been in contact w/ Barry Scott offline re: the monkey patch previously
mentioned. I'm attaching a 2.7 maintenance branch patch that he has needed to
extend, and plans to follow up on.
--
Added file:
Mike Beachy mbea...@gmail.com added the comment:
Attached to this comment (can you attach multiple files at once?) is the
somewhat moldy 2.6.4 monkey patch, mercilessly ripped from my own code and
probably not good for much.
--
Added file:
Hello,
On Fri, Feb 18, 2011 at 09:40:19AM +0500, Andrea
Gavana wrote:
Fails with a variety of errors depending on which port I use:
- Port 80: urllib2.HTTPError: HTTP Error 407: Proxy Authentication
Required ( The ISA Server requires authorization to fulfill the
request. Access to the Web
Hi Malcolm,
On 17 February 2011 11:44, Malcolm Greene wrote:
Andrea,
What type of result do you get trying port 993 ?
Thank you for your answer. I have tried that, with imaplib and
libgmail. This is what I get with imaplib:
Traceback (most recent call last):
File
Hi Andrea,
Have you tried temporarily turning off your Windows firewall software
and/or any locally installed internet security software like Norton,
Avast, etc? You don't need to turn off your entire security package,
just the component that controls internet access.
If the problem can not be
understand, they seem to use the company proxy settings to access the
web (and this is also what the about:config in Firefox is telling
me: it gives all the proxy servers and ports I need). However, even
the simplest piece of code using urllib2 and trying to read the Python
web page like
, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [Errno 8] _ssl.c:480: EOF occurred in violation of protocol
OK. Then I googled back and forth for a possible solution, and I got a
hint that (maybe) the problem could be related to proxy
authentication. And I tried this solution (which uses
in violation of protocol
OK. Then I googled back and forth for a possible solution, and I got a
hint that (maybe) the problem could be related to proxy
authentication. And I tried this solution (which uses SocksiPy) I
found on the web (username2 and password2 are the user name and
password
] _ssl.c:480: EOF occurred in violation of protocol
OK. Then I googled back and forth for a possible solution, and I got a
hint that (maybe) the problem could be related to proxy
authentication. And I tried this solution (which uses SocksiPy) I
found on the web (username2 and password2
Andrea,
What type of result do you get trying port 993 ?
Malcolm
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Feb 16, 2011 at 10:44 PM, Malcolm Greene mgre...@bdurham.com wrote:
Andrea,
What type of result do you get trying port 993 ?
i.e. The port Google explicitly says to use for IMAP in Gmail's help docs.
Cheers,
Chris
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
Is chilkat the best option for doing this?(Sending email via proxy)
Kind Regards,
Jason Sergeant
This email has been processed by SmoothZap - www.smoothwall.net
--
http://mail.python.org/mailman/listinfo/python-list
I would like to upload files to a ftp site, but can't seem to get
through our proxy server, which requires authentication. How can one
do this in Python (I use 2.7, but am more than happy to use 3.2 rc2)
Thanks in advance
Thomas Philips
--
http://mail.python.org/mailman/listinfo/python-list
: open - closed
superseder: - Proxy exception lookup fails on MacOS in urllib.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10643
___
___
Python-bugs-list
Changes by R. David Murray rdmur...@bitdance.com:
--
stage: - committed/rejected
type: crash - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10643
___
New submission from wojas pyt...@m.wojas.nl:
On OSX (tested with 10.6), urllib will fail to parse the proxy exceptions
configuration if no netmask is specified.
On my system the following entries have been added to the proxy exception list:
'127.0.0.1' and 'localhost'. The traceback
wojas pyt...@m.wojas.nl added the comment:
Forgot to set bug type (crash).
--
type: - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10643
___
According to the suds documentation I can set the proxy setting like this:
d = dict(http='host:80', https='host:443', ...)
client.set_options(proxy=d)
My problem is that you can only do that after 'client' was initiated like this:
client = Client(url)
And I need the proxy to reach the url.
I
I'd like to open a ssl connection to a https server, done
Create a socket and bind it to a local port, done
Connect the two in such a way that everything read or written to the
local port is actually read or written to the https server. In other
words I want a http2https proxy.
ideas?
best
Terry J. Reedy tjre...@udel.edu added the comment:
In 3.x, http_error_auth_reqed is a method of
urllib.request.AbstractBasicAuthHandler
(20.5.8. AbstractBasicAuthHandler Objects in 3.1 lib manual)
--
nosy: +terry.reedy
stage: - unit test needed
___
Changes by Senthil Kumaran orsent...@gmail.com:
--
title: urllib2 - Basic,Digest Auth Handlers Retry will give 401 code instead of
407 - urllib2 - Basic,Digest Proxy Auth Handlers failure will give 401 code
instead of 407
___
Python tracker rep
Ned Deily n...@acm.org added the comment:
The fix in r80243 for 27 and similar fixes for 26, 31, and py3k do prevent
crashes on OS X 10.3 when using network proxies so this issue can be closed.
However, the problem I mentioned above with changing the default sense which
caused tests to fail
Ronald Oussoren ronaldousso...@mac.com added the comment:
Ned: could you please check if the issue is present in Python 2.7?
I don't have access to machines that are capable of running OSX 10.3.
--
___
Python tracker rep...@bugs.python.org
Senthil Kumaran orsent...@gmail.com added the comment:
Fixed in r82890 and branches. Thanks Mark for bringing these issues out.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker
Mark Lawrence breamore...@yahoo.co.uk added the comment:
This is a one line patch.
--
assignee: - orsenthil
nosy: +BreamoreBoy, orsenthil
stage: - patch review
versions: +Python 2.7, Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
Senthil Kumaran orsent...@gmail.com added the comment:
This might be related to issue2202 as well.
--
assignee: gregory.p.smith - orsenthil
dependencies: +urllib2 fails against IIS 6.0 (No support for MD5-sess auth)
nosy: +orsenthil
resolution: - accepted
Mark Lawrence breamore...@yahoo.co.uk added the comment:
As it's not actually known whether urllib2 or IIS is at fault, I suggest this
is closed, it can always be reopened.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.2 -Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1424152
___
___
Ronald Oussoren ronaldousso...@mac.com added the comment:
Committed the patch with some minor modifications in r82284 (2.7), r82285
(2.6), r82286 (3.2), r82287 (3.1)
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: crash - behavior
New submission from Yuriy Taraday yorik@gmail.com:
I have straight IP in my proxy exception list like 192.168.0.2 without mask
specification.
The proxy_bypass_macosx_sysconf function verifies each item in this list by
regexp r(\d+(?:\.\d+)*)(/\d+)? that produces two groups: IP and mask
Ronald Oussoren ronaldousso...@mac.com added the comment:
Patchs looks file, although the 'None' branch might be a bit too fancy. I
haven't found a spec either, and therefore your code is probably the safest way
to deduce a mask.
--
assignee: - ronaldoussoren
nosy: +ronaldoussoren
Yuriy Taraday yorik@gmail.com added the comment:
The strange thing is that in both 2.7 and 3.1 branches there is no such code at
all. Inernet Config is used there without mentioning any exceptions despite the
fact that ic module is marked as deprecated and proxy bypass is real
Ronald Oussoren ronaldousso...@mac.com added the comment:
2.7 and 3.x use the SystemConfiguration framework (through the _scproxy
extension)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8883
Yuriy Taraday yorik@gmail.com added the comment:
I'm completely lost 2.7 tree in svn.
My last post was about 3.1.2 release. As I understand, System Configuration
framework is being used since 2.6.5 and 3.2.
So, this bug is about all this versions.
--
versions: +Python 2.7, Python
Ronald Oussoren ronaldousso...@mac.com added the comment:
I've committed my proposed fix in r80243 (trunk)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8095
___
Ronald Oussoren ronaldousso...@mac.com added the comment:
Ned: I've attached a new patch, could you please test this one on an 10.3 box?
It turns out that testing if a weaklinked variable is defined should be done by
testing the address of the variable, not its value.
I've tested this new
Ronald Oussoren ronaldousso...@mac.com added the comment:
I've committed a port of _scproxies and the related code in urllib in r80198
(3.2), r80199 (3.1)
BTW. With some luck this should already include a fix for the crash your seeing
on OSX 10.3 with the trunk and 2.6.
--
Changes by Ronald Oussoren ronaldousso...@mac.com:
--
stage: - committed/rejected
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7154
___
Mike Beachy mbea...@gmail.com added the comment:
I have worked up a monkey patch for urllib2/httplib for the issue of setting
the authentication using a Proxy(Basic|Digest)AuthHandler.
The basic approach was to create a new httplib exception (ProxyTunnelError) and
raise that with the http
New submission from Ciprian Trofin ciprian.tro...@ktd.ro:
After I installed Python 2.6.5, I noticed a drop in performance of web
connections via proxy.
This script:
-
import time
import urllib2
timeMark = time.time()
opener = urllib2
Senthil Kumaran orsent...@gmail.com added the comment:
How are setting up and using your proxy? It would also help you discuss your
approach at python-h...@python.org and if you see any specific issues, raise it
in the bug report.
--
nosy: +orsenthil
Ciprian Trofin ciprian.tro...@ktd.ro added the comment:
I attached a screenshot.
The proxy is on the corporate network. I'm not setting it up, I'm only using
it. Internet Explorer needs that setting in order to connect. Firefox needs
this proxy set as manual proxy configuration.
I looked
Senthil Kumaran orsent...@gmail.com added the comment:
In this ticket, setting the authentication using a ProxyBasicAuthHandler is not
yet addressed yet. (this was informed in the last note). Reopening this one to
track it.
--
resolution: fixed - accepted
status: closed - open
New submission from Ned Deily n...@acm.org:
The current mechanism for urllib and urllib2 on OS X to retrieve network proxy
information is to call _scproxy.c to query the OS X SystemConfiguration
Framework. _scproxy.c uses a schema key,
kSCPropNetProxiesExcludeSimpleHostnames
Changes by Ned Deily n...@acm.org:
Added file: http://bugs.python.org/file16508/Python.crash.log
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8095
___
changes the default on 10.4/10.5, IMHO defaulting to true would be
better: I haven't seen an enviroment yet where local systems should be accessed
through a proxy).
BTW. Removing 3.1 and 3.2 because _scproxy isn't in those releases yet (mostly
because porting requires signifant changes to the C code
Dominique Leuenberger dominique.leuenber...@gmail.com added the comment:
I like the idea of having the proxy handler expanded. In fact I suggest to base
the idea on libproxy ( http://code.google.com/p/libproxy ) which is available
on Linux / openSolaris / Windows and Mac (currently).
Libproxy
Ned Deily n...@acm.org added the comment:
OK, I tried the patch. Reversing the default sense causes the proxy tests in
test_urllib2 to fail on 10.6 et al. So I changed the sense of the tests in the
patch to match previous behavior; the modified patch is attached.
Unfortunately, it didn't
New submission from Ronald Oussoren ronaldousso...@mac.com:
The proxy support code in urllib is imho too specific and cannot easily support
dynamic proxy configuration using a proxy.pac file.
That is, the code assumes that there is at most one proxy per protocol, while
this is not quite true
501 - 600 of 1031 matches
Mail list logo