Mark Lawrence breamore...@yahoo.co.uk added the comment:
msg84276 the patch is good. What is the problem with committing this?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4629
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Fixed in 3.2 (r83116), 2.7 (r83117), 3.1 (r83118) and 2.6 (r83119).
--
resolution: accepted - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
stage: - commit review
versions: +Python 3.2 -Python 2.6, Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4629
___
Mark Lawrence breamore...@yahoo.co.uk added the comment:
I'm not sure why this is still open, would somebody like to comment, see also
Issue4650.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4629
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
The patch is good.
--
nosy: +amaury.forgeotdarc
resolution: - accepted
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4629
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Updated patch with a regression test.
--
Added file: http://bugs.python.org/file13434/getopt-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4629
STINNER Victor victor.stin...@haypocalc.com added the comment:
Can you please also write a regression test in
Lib/test/test_getopt.py?
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4629
Changes by Martin v. Löwis mar...@v.loewis.de:
--
versions: -Python 2.1.1, Python 2.1.2, Python 2.2, Python 2.2.1, Python 2.2.2,
Python 2.2.3, Python 2.3, Python 2.4, Python 2.5, Python 2.5.3
___
Python tracker rep...@bugs.python.org
New submission from Wang Chun [EMAIL PROTECTED]:
Consider the following program tmp.py:
import sys, getopt
print(getopt.getopt(sys.argv[1:], '', ['help']))
The program accept --help without a value:
python helloworld.py --help
But if someone invoke the program like:
python helloworld.py
Changes by Wang Chun [EMAIL PROTECTED]:
--
keywords: +patch
Added file: http://bugs.python.org/file12325/getopt.py.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4629
___
10 matches
Mail list logo