This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author georg.brandl
Recipients georg.brandl, larry
Date 2014-01-12.08:32:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389515539.59.0.844289395303.issue20186@psf.upfronthosting.co.za>
In-reply-to
Content
OK, here's a patch for _csv.  Two problems here:

First problem is the __new__ method of the Dialect class:

* it has no docstring and no methoddef entry
* it is a class method, but the first arg is conventionally called "type"

I tried to hack something into clinic with a new decorator, but it may not be how you want it to look, take care.

Second problem is the functions reader(), writer(), register_dialect(): they parse their *args but pass their **kwargs through to another class.
Is there anything like a "**kwds" argument specifier?

BTW, for a module like _csv that is exported through a Python module named csv, should we use the "real" or the "nice" module name?
History
Date User Action Args
2014-01-12 08:32:19georg.brandlsetrecipients: + georg.brandl, larry
2014-01-12 08:32:19georg.brandlsetmessageid: <1389515539.59.0.844289395303.issue20186@psf.upfronthosting.co.za>
2014-01-12 08:32:19georg.brandllinkissue20186 messages
2014-01-12 08:32:19georg.brandlcreate