[issue20457] Use partition and enumerate make getopt easier

2014-06-19 Thread Ezio Melotti

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
http://bugs.python.org/issue20457
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20457] Use partition and enumerate make getopt easier

2014-02-24 Thread Raymond Hettinger

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20457] Use partition and enumerate make getopt easier

2014-02-24 Thread dongwm

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20457] Use partition and enumerate make getopt easier

2014-02-24 Thread Raymond Hettinger

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20457] Use partition and enumerate make getopt easier

2014-02-20 Thread dongwm

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com




[issue20457] Use partition and enumerate make getopt easier

2014-02-20 Thread dongwm

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20457] Use partition and enumerate make getopt easier

2014-02-15 Thread Ezio Melotti

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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20457
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20457] Use partition and enumerate make getopt easier

2014-01-31 Thread dongwm

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
Added file: http://bugs.python.org/file33833/getopt_2.7_3.X.path

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20457
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20457] Use partition and enumerate make getopt easier

2014-01-31 Thread dongwm

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20457] Use partition and enumerate make getopt easier

2014-01-31 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy: +ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20457
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com