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
___
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
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
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.
Changes by Phil Connell pconn...@gmail.com:
--
nosy: +pconnell
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16863
___
___
Python-bugs-list
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
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
___
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