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 reflect this >> or does this only affect Mac OS? (or should we correct the build so it >> doesn't spit out a .exe?) > > It only affects MacOS. On other Unix system, the build process spits > out an executable named "python". On MacOS that's not possible, > because that name would clash with the subdirectory named "Python". > >>> After the build you should be able to do: >>> >>> ./python.exe >> >> Unfortunately, still: >> >> buzzkill:cpython chris$ ./python.exe -m test -j3 >> /Users/chris/LocalHG/cpython/python.exe: No module named test.__main__; >> 'test' is a package and cannot be directly executed >> [18856 refs] > > How about "make test" ? > > > Hope this helps, > > -- HansM
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 'fp' referenced before assignment Is this a bug in the test suite, or a regression in 2.7.3+ ? This is on MacOS 10.6.5, using a checkout from hg.python.org from earlier today. -- HansM _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com