[issue16026] csv.DictReader argument names documented incorrectly

2017-01-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 198edd926751 by Berker Peksag in branch '3.6': Issue #16026: Fix parameter names of DictReader and DictWriter https://hg.python.org/cpython/rev/198edd926751 New changeset 63c5531cfdf7 by Berker Peksag in branch 'default': Issue #16026: Merge from 3.

[issue16026] csv.DictReader argument names documented incorrectly

2017-01-06 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patches James and Greg! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.5 ___ Python tracker

[issue16026] csv.DictReader argument names documented incorrectly

2017-01-03 Thread Berker Peksag
Berker Peksag added the comment: Welcome and thanks for the patch, Greg. csv.rst-patch looks good to me. I will commit it this week if there are no objections. Documentation updates can go into all active branches so I'm adding 3.5 and 3.6 back (we can pass 2.7 at this point since this is a tr

[issue16026] csv.DictReader argument names documented incorrectly

2017-01-03 Thread Greg Bengeult
Greg Bengeult added the comment: Here's a revised patch file for Python 3.7. This is my first ever submission to an open source project, so please be gentle. -- nosy: +gbengeult versions: -Python 2.7, Python 3.5, Python 3.6 Added file: http://bugs.python.org/file46132/csv.rst-patch __

[issue16026] csv.DictReader argument names documented incorrectly

2016-11-23 Thread Berker Peksag
Berker Peksag added the comment: James Salt's patch looks good to me, but it doesn't apply cleanly anymore. For the record, PyPy uses the same parameter name as Lib/csv.py: https://bitbucket.org/pypy/pypy/src/55a9404c80d6557854cac092addd92a6e0b683cc/lib-python/2.7/csv.py?at=default&fileviewer=f

[issue16026] csv.DictReader argument names documented incorrectly

2016-11-23 Thread Mohammad Maaz Khan
Mohammad Maaz Khan added the comment: Hi Éric, I think the documentation should be changed to match the arguments' names. -- nosy: +maaz92 ___ Python tracker ___ ___

[issue16026] csv.DictReader argument names documented incorrectly

2012-09-28 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +needs review, patch -3.3regression ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue16026] csv.DictReader argument names documented incorrectly

2012-09-28 Thread Éric Araujo
Éric Araujo added the comment: I disagree that we can never fix argument names in the docs, as we have done it already. You raise a good point however, that we should check what other VMs do. I would not be surprised if they followed the code instead of the docs. -- keywords: +3.3reg

[issue16026] csv.DictReader argument names documented incorrectly

2012-09-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Changing the documentation is changing the specification, it has the higher bar than changing the implementation. It can break the alternative implementations. This is unlikely to break somebody's existing code, because the one who used the argument as a key

[issue16026] csv.DictReader argument names documented incorrectly

2012-09-28 Thread Éric Araujo
Éric Araujo added the comment: I don’t understand the proposal. Changing the code has a high bar; here it would break code without benefit. Fixing the doc so that it reflects the code accurately is a no-cost improvement. (Inconsistency is unfortunate, but we’ll have to live with that.) ---

[issue16026] csv.DictReader argument names documented incorrectly

2012-09-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is not consistent with reader and writer. I propose to close the issue as "won't fix" or change the argument name in the sources. Unfortunately, Python syntax does not allow to specify the positional-only arguments. -- keywords: +patch nosy: +sto

[issue16026] csv.DictReader argument names documented incorrectly

2012-09-28 Thread Éric Araujo
Éric Araujo added the comment: I’m not a dedicated maintainer for csv (for one thing I don’t know C :), I just happen to reply to many bug reports. This doc patch looks good to me. -- nosy: +sandro.tosi ___ Python tracker

[issue16026] csv.DictReader argument names documented incorrectly

2012-09-28 Thread Larry Hastings
Larry Hastings added the comment: Eric, iirc you're the de facto csv guy? Does this seem reasonable to you? -- nosy: +eric.araujo, larry ___ Python tracker ___ _

[issue16026] csv.DictReader argument names documented incorrectly

2012-09-28 Thread James Salt
James Salt added the comment: This diff shows a correction of the documentation to reflect the name for the csv file used in the implementation - this change seemed like the easiest and simplest thing to do and avoids potential backwards incompatibility issues. -- nosy: +James.Salt Add

[issue16026] csv.DictReader argument names documented incorrectly

2012-09-24 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +easy stage: -> needs patch versions: -Python 2.6, Python 3.1, Python 3.4 ___ Python tracker ___ _

[issue16026] csv.DictReader argument names documented incorrectly

2012-09-24 Thread Peter Eisentraut
New submission from Peter Eisentraut: The documentation for the csv.DictReader constructor is .. class:: DictReader(csvfile, fieldnames=None, restkey=None, restval=None, dialect='excel', *args, **kwds) but the implementation is def __init__(self, f, fieldnames=None, restkey=None, restval=None