Ezio Melotti added the comment:
Based on Raymond's comment I'm going to close this.
Thanks anyway for the patch.
--
resolution: - rejected
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
Raymond Hettinger added the comment:
FWIW, I don't find the new patch to be any clearer than the original.
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20457
___
dongwm added the comment:
Oh, really no big improvement in function, but I have been using the
functionality provided by python.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20457
___
Raymond Hettinger added the comment:
I recommend we leave the code alone. No need for code churn unless there is a
real improvement in code quality.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20457
dongwm added the comment:
Yes, it has tests. I just modified do_longs and short_has_arg. In
Lib/test/test_getopt.py, test_do_longs and test_short_has_arg can do it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20457
dongwm added the comment:
I have signed the contributor agreement form. The new version of the official
web site seem some css style display problems.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20457
New submission from Ezio Melotti:
Thanks for the patches.
Are these parts of the code covered by tests? If not, can you also provide
tests for it?
--
nosy: +ezio.melotti
stage: - patch review
versions: +Python 3.5 -Python 2.7, Python 3.1, Python 3.2, Python 3.3
Changes by dongwm ciici...@gmail.com:
--
components: Library (Lib)
files: getopt_2.7_3.X.path
nosy: dongwm
priority: normal
severity: normal
status: open
title: Use partition and enumerate make getopt easier
type: enhancement
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3
Changes by dongwm ciici...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file33834/getopt_3.3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20457
___
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: +ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20457
___
___
Python-bugs-list
10 matches
Mail list logo