Re: [Python-Dev] Issue 10094

2010-10-15 Thread Senthil Kumaran
On Fri, Oct 15, 2010 at 11:19:44AM +0200, Victor Stinner wrote: > Why does urllib test unset this variable? Is it related to an HTTP proxy? It does that *temporarily* using EnvironVarGuard to see if the PROXY related environment variables are correctly retrieved by a method. -- Senthil Drawin

Re: [Python-Dev] Issue 10094

2010-10-15 Thread Victor Stinner
Le jeudi 14 octobre 2010 19:58:22, Barry Warsaw a écrit : > On Oct 14, 2010, at 07:38 PM, Antoine Pitrou wrote: > >There doesn't seem to be anything really mysterious, actually. The > >exception message says it all :) > > Yep. Looks like Ubuntu 10.10 added UBUNTU_MENUPROXY to the default > enviro

Re: [Python-Dev] Issue 10094

2010-10-14 Thread Barry Warsaw
On Oct 14, 2010, at 07:38 PM, Antoine Pitrou wrote: >There doesn't seem to be anything really mysterious, actually. The >exception message says it all :) Yep. Looks like Ubuntu 10.10 added UBUNTU_MENUPROXY to the default environment and that's what's killing it. I'll bet those Ubuntu buildbots

Re: [Python-Dev] Issue 10094

2010-10-14 Thread Senthil Kumaran
On Thu, Oct 14, 2010 at 07:38:58PM +0200, Antoine Pitrou wrote: > An easy way to reproduce is to have an environment variable named > "PROXY": > > $ PROXY=toto ./python -m test.regrtest -F test_urllib > [ 1] test_urllib > Warning -- os.environ was modified by test_urllib > test test_urllib failed

Re: [Python-Dev] Issue 10094

2010-10-14 Thread Antoine Pitrou
On Thu, 14 Oct 2010 13:04:01 -0400 Barry Warsaw wrote: > Posting this here first, though it's looking less like a Python bug and more > like an environment problem, or issue with something in Ubuntu. > > I'm running the regular test suite for the py3k branch and seeing this failure > on Ubuntu 10

Re: [Python-Dev] Issue 10094

2010-10-14 Thread Barry Warsaw
On Oct 14, 2010, at 10:29 AM, Guido van Rossum wrote: >Could it be IPv6? I don't think so. I have IPv6 disabled on at least one of the machines. Also, I'm sure this failure did not occur before Ubuntu 10.10 final. It also fails on Python 3.1. -Barry signature.asc Description: PGP signature _

Re: [Python-Dev] Issue 10094

2010-10-14 Thread Senthil Kumaran
On Thu, Oct 14, 2010 at 10:29:12AM -0700, Guido van Rossum wrote: > Could it be IPv6? The error message says, File "Lib/test/test_urllib.py", line 121, in setUp for k in os.environ.keys(): File "/home/barry/projects/python/py3k/Lib/_abcoll.py", line 410, in __iter__ for key in self._m

Re: [Python-Dev] Issue 10094

2010-10-14 Thread Guido van Rossum
Could it be IPv6? On Thu, Oct 14, 2010 at 10:04 AM, Barry Warsaw wrote: > Posting this here first, though it's looking less like a Python bug and more > like an environment problem, or issue with something in Ubuntu. > > I'm running the regular test suite for the py3k branch and seeing this failu