Vinay Sajip added the comment:
A test would also be nice :-)
I do test the launcher in a standalone environment, but it's not
straightforward to test in a standard build or buildbot environment. For
example, it needs 4 sets of Python (Python 2.x and 3.x, 32-bit and 64-bit
builds for each)
Amaury Forgeot d'Arc added the comment:
An entry in Misc/NEWS would be nice.
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17028
___
STINNER Victor added the comment:
A test would also be nice :-)
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17028
___
___
Roundup Robot added the comment:
New changeset 58e72cb89848 by Vinay Sajip in branch 'default':
Updated NEWS with fix for #17028.
http://hg.python.org/cpython/rev/58e72cb89848
--
___
Python tracker rep...@bugs.python.org
Thomas Heller added the comment:
Hope it is ok to assign this to you, vinay.
--
assignee: - vinay.sajip
nosy: +vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17028
___
Roundup Robot added the comment:
New changeset 0880e0f859e0 by Vinay Sajip in branch 'default':
Closes #17028: Allowed Python arguments to be supplied to launcher.
http://hg.python.org/cpython/rev/0880e0f859e0
--
nosy: +python-dev
resolution: - fixed
stage: patch review -
New submission from Thomas Heller:
The python launcher does not parse the shebang if arguments for the Python
interpreter are given on the command line. For example:
py.exe test.py # uses shebang line
py.exe -u test.py # does NOT use shebang line
The attached patch fixes this.
--
Changes by Thomas Heller thel...@ctypes.org:
--
title: launcher - launcher does not read shebang line when arguments are given
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17028
___