Steve Dower added the comment:
Distutils is now deprecated (see PEP 632) and all tagged issues are being
closed. From now until removal, only release blocking issues will be considered
for distutils.
If this issue does not relate to distutils, please remove the component and
reopen it. If
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
components: -Distutils2
nosy: +dstufft
versions: +Python 3.4, Python 3.5 -3rd party, Python 3.1, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2200
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: -BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2200
___
___
Éric Araujo mer...@netwok.org added the comment:
Martin, could you please review patch file11359?
--
nosy: +loewis
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2200
Martin v. Löwis mar...@v.loewis.de added the comment:
I think the patch is incorrect. Parsing PATHEXT means that it will believe that
all extensions listed on PATHEXT are executable. However, os.spawnv is not able
to run them all, but only a subset. IIUC, spawnv supports (from spawnve.c)
Alexis Metaireau ale...@notmyidea.org added the comment:
Have the patch been applied ? (the state is still open since last message)
--
nosy: +alexis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2200
Éric Araujo mer...@netwok.org added the comment:
Not yet.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2200
___
___
Python-bugs-list mailing
Changes by Éric Araujo mer...@netwok.org:
--
versions: +3rd party
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2200
___
___
Python-bugs-list
Lev Shamardin shamar...@gmail.com added the comment:
My use case was compiling PyQt4 resources and Qt Designer .ui files from setup
script using pyrcc4 and pyuic4 commands. On windows pyrcc4 is actually a
pyrcc4.bat file (at least it was at the time of the original bug submission -
haven't
anatoly techtonik techto...@gmail.com added the comment:
I believe I had problems with SCons and other .py scripts that are installed as
executable .bat files on Windows.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2200
anatoly techtonik techto...@gmail.com added the comment:
Another use case for .bat files is adddin extra params for executable files.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2200
Éric Araujo mer...@netwok.org added the comment:
Thanks for the use cases. I agree this is a bug, not a feature, so unless
Tarek disagrees I will commit the last patch.
I'm not sure this requires tests.
--
assignee: tarek - eric.araujo
resolution: - accepted
stage: - patch review
Mark Lawrence breamore...@yahoo.co.uk added the comment:
I think distutils changes should be aimed at several versions, please correct
them if I'm wrong.
--
nosy: +BreamoreBoy, eric.araujo
versions: +Python 2.5, Python 2.6, Python 3.1, Python 3.2
Éric Araujo mer...@netwok.org added the comment:
distutils bugs follow standard Python rules: They are fixed in stable and
development branches, now 2.7, 3.1 and py3k. If there is a security hazard,
the fix would go into 2.6 and possibly 2.5 too.
distutils2 has to work with 2.4-2.7 and
Éric Araujo mer...@netwok.org added the comment:
Could someone provide use cases for this change? What programs which were not
.exe did you need to run though distutils?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2200
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: -Python 2.5, Python 2.6, Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2200
___
Changes by Akira Kitada akit...@gmail.com:
--
assignee: - tarek
components: +Windows
nosy: +tarek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2200
___
anatoly techtonik [EMAIL PROTECTED] added the comment:
I've run into the same problem.
Attached patch (updated with Lev code) is almost the same except that it
doesn't attempt to return executable files without executable extension.
It also accounts that os2 executables can have arbitrary
Changes by anatoly techtonik [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11358/spawn.patch.txt
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2200
___
Changes by anatoly techtonik [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file11359/spawn.patch.txt
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2200
___
Lev Shamardin added the comment:
I can't see this issue on the 'open issues' list nor in the search
results. Is something wrong?
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2200
__
Lev Shamardin added the comment:
Here is my vision of this patch. I don't think that it is necessary to
fall back to 'com/exe/bat' if PATHEXT is not set, since it must be set
on any correctly configured Win32 platform.
--
keywords: +patch
Added file:
Christian Heimes added the comment:
Can you provide a patch which uses PATHEXT and falls back to .com, .exe
and .bat?
--
nosy: +tiran
priority: - normal
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2200
__
New submission from Lev Shamardin:
distutils.spawn.find_executable appends '.exe' suffix on win32 and os2
platforms. This is incorrect behavior, since it prevents finding .bat,
.cmd and other similar files. Ether all extensions from the %PATHEXT%
must be checked or filenames both with appended
24 matches
Mail list logo