Your message dated Sun, 11 Jul 2010 16:38:46 +0200
with message-id <[email protected]>
and subject line fixed in Python 2.6
has caused the Debian Bug report #230706,
regarding urllib2 should support no_proxy environment variable
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
230706: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=230706
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: zope-testcase
Version: 0.8.6-1
Severity: wishlist


This is not really a zope-testcase bug but it is reported here so
other people using it can find an explanation why this happens.

The problem is python's urllib will use http_proxy, but ignores
no_proxy. The tests use urllib to access "http://localhost:xxxx/*";. If
you have http_proxy defined to point to a remote proxy and no_proxy to
bypass proxies for "localhost", urllib will still use the proxy,
causing the test to fail.

This will affect all tests using urllib, including tests you write
yourself. The workaround is to always specify "proxies={}" when
calling urllib.urlopen().

I think I remember reporting this bug upstream against python...

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux minkirri 2.4.24-1-686 #1 Tue Jan 6 21:29:44 EST 2004 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages zope-testcase depends on:
ii  zope                          2.6.2-6    Open Source Web Application Server

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 2.6.5-1

This bug was fixed in Python 2.6. python-defaults points to Python 2.6
since 2.6.5-1 so I'm closing with this version.

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to