[issue17940] extra code in argparse.py

2016-03-05 Thread Berker Peksag

Berker Peksag added the comment:

Thanks!

--
nosy: +berker.peksag
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.6 -Python 3.4

___
Python tracker 

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



[issue17940] extra code in argparse.py

2016-03-05 Thread Roundup Robot

Roundup Robot added the comment:

New changeset be3874cf87f3 by Berker Peksag in branch 'default':
Issue #17940: Remove redundant code from _Section.format_help()
https://hg.python.org/cpython/rev/be3874cf87f3

--
nosy: +python-dev

___
Python tracker 

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



[issue17940] extra code in argparse.py

2013-06-28 Thread Berker Peksag

Changes by Berker Peksag :


--
stage: needs patch -> patch review
versions: +Python 3.4 -Python 2.7

___
Python tracker 

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



[issue17940] extra code in argparse.py

2013-05-12 Thread paul j3

paul j3 added the comment:

I was wondering about that block of code earlier.

It would be a good idea to look at what func() does, just to make sure there 
aren't any side effects - e.g. set maximum line length, required indention, etc.

--
nosy: +paul.j3

___
Python tracker 

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



[issue17940] extra code in argparse.py

2013-05-12 Thread Yogesh Chaudhari

Changes by Yogesh Chaudhari :


--
hgrepos:  -190

___
Python tracker 

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



[issue17940] extra code in argparse.py

2013-05-11 Thread Yogesh Chaudhari

Yogesh Chaudhari added the comment:

I guess that was simple enough. I am new to this issue tracker for Cpython. How 
will the patch review/commit proceed?

--

___
Python tracker 

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



[issue17940] extra code in argparse.py

2013-05-11 Thread Yogesh Chaudhari

Yogesh Chaudhari added the comment:

I have added a patch for default branch as well, because IMO the same issue 
exists in all branches

--

___
Python tracker 

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



[issue17940] extra code in argparse.py

2013-05-11 Thread Yogesh Chaudhari

Yogesh Chaudhari added the comment:

Remove extra code in argparse.py for 2.7 branch

--
hgrepos: +190
Added file: http://bugs.python.org/file30215/issue17940-27.patch

___
Python tracker 

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



[issue17940] extra code in argparse.py

2013-05-11 Thread Yogesh Chaudhari

Yogesh Chaudhari added the comment:

Removed the duplicated code from argparse.py

--
keywords: +patch
nosy: +Yogesh.Chaudhari
Added file: http://bugs.python.org/file30214/issue17940.patch

___
Python tracker 

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



[issue17940] extra code in argparse.py

2013-05-10 Thread Tshepang Lekhonkhobe

Changes by Tshepang Lekhonkhobe :


--
nosy: +tshepang

___
Python tracker 

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



[issue17940] extra code in argparse.py

2013-05-10 Thread Ezio Melotti

Changes by Ezio Melotti :


--
nosy: +bethard
stage:  -> needs patch

___
Python tracker 

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



[issue17940] extra code in argparse.py

2013-05-08 Thread Alex

New submission from Alex:

In class HelpFormatter, class _Section, format_help(self)
(lines 199 & 200), the two lines

for func, args in self.items:
func(*args)

aren't necessary; the results of func are ignored.
"func" is applied (again) on the next line when the
output is joined into item_help.

Cheers
.a

--
components: Library (Lib)
messages: 188742
nosy: aho
priority: normal
severity: normal
status: open
title: extra code in argparse.py
type: enhancement
versions: Python 2.7

___
Python tracker 

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