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)) >>

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

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). >&g

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 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,

Re: [Python-Dev] os.path.exists() / os.path.isdir() inconsistency when dealing with gvfs directories

2012-06-27 Thread Hans Mulder
On 27/06/12 02:19:03, Giampaolo RodolĂ  wrote: > 2012/6/27 Cameron Simpson : >> So I'd be +0.5 for making the docs more clear that True is reliable and >> False may merely mean "could not access". > > +1 +1 > I was about to propose a 'strict' parameter which lets the exception > propagate in case

Re: [Python-Dev] A new dictionary implementation

2012-02-01 Thread Hans Mulder
On 30/01/12 00:30:14, Steven D'Aprano wrote: Mark Shannon wrote: Antoine Pitrou wrote: [..] Antoine is right. It is a reorganisation of the dict, plus a couple of changes to typeobject.c and object.c to ensure that instance dictionaries do indeed share keys arrays. I don't quite follow