Re: [Python-Dev] problems building python2.7

2012-11-10 Thread Hans Mulder
On 9/11/12 17:07:13, R. David Murray wrote: > On Fri, 09 Nov 2012 16:44:00 +0100, Hans Mulder wrote: >> I looked into it, and the problem is this bit of code (line 230-235): >> >> try: >> self.assertTrue(os.path.exists(tmp_file)) >> fp = urllib.urlopen(tmp_fileurl)

Re: [Python-Dev] problems building python2.7

2012-11-09 Thread Ned Deily
In article <509d702e.10...@hastings.org>, Larry Hastings wrote: > On 11/09/2012 09:54 AM, Ronald Oussoren wrote: > > On 9 Nov, 2012, at 11:57, Chris Withers wrote: > >> Hah! Should http://docs.python.org/devguide/ be updated to reflect this or > >> does this only affect Mac OS? (or should we co

Re: [Python-Dev] problems building python2.7

2012-11-09 Thread Larry Hastings
On 11/09/2012 09:54 AM, Ronald Oussoren wrote: On 9 Nov, 2012, at 11:57, Chris Withers wrote: Hah! Should http://docs.python.org/devguide/ be updated to reflect this or does this only affect Mac OS? (or should we correct the build so it doesn't spit out a .exe?) How else should it be named,

Re: [Python-Dev] problems building python2.7

2012-11-09 Thread Antoine Pitrou
On Fri, 09 Nov 2012 11:57:54 + Chris Withers wrote: > On 09/11/2012 11:54, Ronald Oussoren wrote: > > > > On 9 Nov, 2012, at 11:57, Chris Withers wrote: > > > >> On 09/11/2012 10:52, Michael Foord wrote: > >>> > However, I can't find the python it's built... > >>> > >>> It should be pyt

Re: [Python-Dev] problems building python2.7

2012-11-09 Thread Chris Jerdonek
On Fri, Nov 9, 2012 at 2:57 AM, Chris Withers wrote: > On 09/11/2012 10:52, Michael Foord wrote: >> >> It should be python.exe (yes really). > > Hah! Should http://docs.python.org/devguide/ be updated to reflect this or > does this only affect Mac OS? (or should we correct the build so it doesn't

Re: [Python-Dev] problems building python2.7

2012-11-09 Thread R. David Murray
On Fri, 09 Nov 2012 16:44:00 +0100, Hans Mulder wrote: > I looked into it, and the problem is this bit of code (line 230-235): > > try: > self.assertTrue(os.path.exists(tmp_file)) > fp = urllib.urlopen(tmp_fileurl) > finally: > os.close(fd) >

Re: [Python-Dev] problems building python2.7

2012-11-09 Thread Terry Reedy
On 11/9/2012 5:57 AM, Chris Withers wrote: On 09/11/2012 10:52, Michael Foord wrote: However, I can't find the python it's built... It should be python.exe (yes really). Hah! Should http://docs.python.org/devguide/ be updated to reflect this or does this only affect Mac OS? The devguide

Re: [Python-Dev] problems building python2.7

2012-11-09 Thread Hans Mulder
On 9/11/12 15:11:26, Chris Withers wrote: > On 09/11/2012 11:54, Hans Mulder wrote: >> I tried "make test", and I got: >> >> test test_urllib failed -- Traceback (most recent call last): >>File "/Users/hans/python/cpython/cpython-2.7/Lib/test/test_urllib.py", >> line 235, in test_missing_localf

Re: [Python-Dev] problems building python2.7

2012-11-09 Thread Chris Withers
On 09/11/2012 11:54, Hans Mulder wrote: I tried "make test", and I got: test test_urllib failed -- Traceback (most recent call last): File "/Users/hans/python/cpython/cpython-2.7/Lib/test/test_urllib.py", line 235, in test_missing_localfile fp.close() UnboundLocalError: local variable 'f

Re: [Python-Dev] problems building python2.7

2012-11-09 Thread Chris Withers
On 09/11/2012 11:54, Ronald Oussoren wrote: On 9 Nov, 2012, at 11:57, Chris Withers wrote: On 09/11/2012 10:52, Michael Foord wrote: However, I can't find the python it's built... It should be python.exe (yes really). Hah! Should http://docs.python.org/devguide/ be updated to reflect t

Re: [Python-Dev] problems building python2.7

2012-11-09 Thread Ronald Oussoren
On 9 Nov, 2012, at 11:57, Chris Withers wrote: > On 09/11/2012 10:52, Michael Foord wrote: >> >>> However, I can't find the python it's built... >> >> It should be python.exe (yes really). > > Hah! Should http://docs.python.org/devguide/ be updated to reflect this or > does this only affect

Re: [Python-Dev] problems building python2.7

2012-11-09 Thread Hans Mulder
On 9/11/12 12:09:26, Hans Mulder wrote: > On 9/11/12 11:57:39, Chris Withers wrote: >> On 09/11/2012 10:52, Michael Foord wrote: >>> However, I can't find the python it's built... >>> >>> It should be python.exe (yes really). >> >> Hah! Should http://docs.python.org/devguide/ be updated to ref

Re: [Python-Dev] problems building python2.7

2012-11-09 Thread Petri Lehtinen
Chris Withers wrote: > On 09/11/2012 10:52, Michael Foord wrote: > > > >>However, I can't find the python it's built... > > > >It should be python.exe (yes really). > > Hah! Should http://docs.python.org/devguide/ be updated to reflect > this or does this only affect Mac OS? (or should we correct

Re: [Python-Dev] problems building python2.7

2012-11-09 Thread Hans Mulder
On 9/11/12 11:57:39, Chris Withers wrote: > On 09/11/2012 10:52, Michael Foord wrote: >> >>> However, I can't find the python it's built... >> >> It should be python.exe (yes really). > > Hah! Should http://docs.python.org/devguide/ be updated to reflect this > or does this only affect Mac OS? (or

Re: [Python-Dev] problems building python2.7

2012-11-09 Thread Chris Withers
On 09/11/2012 10:52, Michael Foord wrote: However, I can't find the python it's built... It should be python.exe (yes really). Hah! Should http://docs.python.org/devguide/ be updated to reflect this or does this only affect Mac OS? (or should we correct the build so it doesn't spit out a

Re: [Python-Dev] problems building python2.7

2012-11-09 Thread Michael Foord
On 9 Nov 2012, at 09:57, Chris Withers wrote: > Hi All, > > I wanted to run the unit tests before checking in the patch for > http://bugs.python.org/issue16441, even though it's a trivial change, so I > was trying to follow the instructions at: > > http://docs.python.org/devguide/ > > I'm o

Re: [Python-Dev] problems building python2.7

2012-11-09 Thread Hans Mulder
On 9/11/12 10:57:22, Chris Withers wrote: > Hi All, > > I wanted to run the unit tests before checking in the patch for > http://bugs.python.org/issue16441, even though it's a trivial change, so > I was trying to follow the instructions at: > > http://docs.python.org/devguide/ > > I'm on MacOS,

[Python-Dev] problems building python2.7

2012-11-09 Thread Chris Withers
Hi All, I wanted to run the unit tests before checking in the patch for http://bugs.python.org/issue16441, even though it's a trivial change, so I was trying to follow the instructions at: http://docs.python.org/devguide/ I'm on MacOS, so following the "unix" instructions did: ./configure -