[issue16863] Python 2 error in Argparse tutorial

2014-10-22 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- keywords: +easy nosy: +berker.peksag stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16863 ___

[issue16863] Python 2 error in Argparse tutorial

2014-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since the author of the tutorial agrees with my idea, and no one has come forward with anything else, I will make the change. -- assignee: - terry.reedy ___ Python tracker rep...@bugs.python.org

[issue16863] Python 2 error in Argparse tutorial

2014-10-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset e7428d7f641f by Terry Jan Reedy in branch '2.7': Issue #16863: Explain difference between text and 2.7 behavior. https://hg.python.org/cpython/rev/e7428d7f641f -- nosy: +python-dev ___ Python tracker

[issue16863] Python 2 error in Argparse tutorial

2014-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Once this discrepancy is explained (3.x) prog.py: error: the following arguments are required: echo (2.7) prog.py: error: too few arguments I agree with leaving the 3.x version in the tutorial. A normal output discrepany might be a different matter.

[issue16863] Python 2 error in Argparse tutorial

2013-04-19 Thread Phil Connell
Changes by Phil Connell pconn...@gmail.com: -- nosy: +pconnell ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16863 ___ ___ Python-bugs-list

[issue16863] Python 2 error in Argparse tutorial

2013-01-05 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe added the comment: A quick patch would be 'This tutorial was written for argparse in Python 3. A few details are different in 2.x.' But feel free to do better. That really sounds great, especially since it avoids resorting to things as ugly as ...and this is Python 2

[issue16863] Python 2 error in Argparse tutorial

2013-01-04 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- title: Argparse tutorial outdated - Python 2 error in Argparse tutorial ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16863 ___

[issue16863] Python 2 error in Argparse tutorial

2013-01-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: A quick patch would be 'This tutorial was written for argparse in Python 3. A few details are different in 2.x.' But feel free to do better. -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org