[issue5956] test_distutils fails for Python 3.1b1 on MacOS X

2009-05-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Is it possible that Stuffit tries to unpack every compressed file found inside the tar file? the wininst*.exe files are templates for installers. They likely contain part of the signature of a ZIP file, and Stuffit would handle them

[issue5956] test_distutils fails for Python 3.1b1 on MacOS X

2009-05-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, I was fearing some MacOS X-specific feature à la application bundles. Thanks for reporting the problem anyway :) -- resolution: - invalid status: open - closed ___ Python tracker

[issue5956] test_distutils fails for Python 3.1b1 on MacOS X

2009-05-16 Thread Jean Brouwers
Jean Brouwers mrje...@gmail.com added the comment: Possible, I do not know and had never seen this before. Also, I just installed the latest (free) version 13.0.3 (Intel Build 165) of Stuffit Expander and the problem does *not* occur. But the older Stuffit 11.0.2 (Intel Build 627) still

[issue5956] test_distutils fails for Python 3.1b1 on MacOS X

2009-05-16 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Another good reason not to install Stuffit or Stuffit Expander. These days OS X expands the standard open formats (i.e. .gz, .zip, .tar, etc) all by itself, and there are the standard command line tools as well. If you need Stuffit for actual

[issue5956] test_distutils fails for Python 3.1b1 on MacOS X

2009-05-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ouch! Could you try to simply open() an exe file in the interactive interpreter? What does os.stat() give on this exe file? What does os.stat() give on a real directory? If some files are also directories under MacOS X, perhaps we must reconsider

[issue5956] test_distutils fails for Python 3.1b1 on MacOS X

2009-05-15 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- components: +IO ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5956 ___ ___ Python-bugs-list mailing

[issue5956] test_distutils fails for Python 3.1b1 on MacOS X

2009-05-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Where does wininst-6.0.1.exe come from? I don't see it on a fresh checkout (there's only wininst-6.0.exe (without the .1)). Does MacOS X create these aliases automatically? Did you install Python 3.1 or are your running directly from the source

[issue5956] test_distutils fails for Python 3.1b1 on MacOS X

2009-05-15 Thread Jean Brouwers
Jean Brouwers mrje...@gmail.com added the comment: Here are the answers to your questions. % python Python 2.6.2 (r262:71600, Apr 16 2009, 09:17:39) [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin Type help, copyright, credits or license for more information. f =

[issue5956] test_distutils fails for Python 3.1b1 on MacOS X

2009-05-13 Thread Jean Brouwers
Jean Brouwers mrje...@gmail.com added the comment: Indeed, this is Python 3.1b1 built from source on MacOS X 10.4.1 Tiger (Intel). MacOS considers some of these win*.exe files directories. See the attached picture and below. % ls -l Python-3.1b1/Lib/distutils/command/win* -rw-r--r-- 1

[issue5956] test_distutils fails for Python 3.1b1 on MacOS X

2009-05-13 Thread Jean Brouwers
Jean Brouwers mrje...@gmail.com added the comment: Another attempt to attach the image. -- Added file: http://bugs.python.org/file13979/Issue5956.jpg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5956

[issue5956] test_distutils fails for Python 3.1b1 on MacOS X

2009-05-07 Thread Jean Brouwers
New submission from Jean Brouwers mrje...@gmail.com: % make test test_distutils test test_distutils failed -- Traceback (most recent call last): File ../Python-3.1b1/Lib/distutils/tests/test_bdist_wininst.py, line 23, in test_get_exe_bytes exe_file = cmd.get_exe_bytes() File