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 frougon
Recipients
Date 2003-08-30.17:39:55
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
csv.DictWriter has similar problems as csv.DictReader
as described in bug #792558.

The signature of csv.DictWriter.__init__ is:

    def __init__(self, f, fieldnames, restval="",
extrasaction="raise",
                 dialect="excel", *args):

but the docs says:

class DictWriter(csvfile, fieldnames[, restval=""[,
extrasaction='raise'[, dialect='excel'[, fmtparam]]]])

Problems:

1. f != csvfile
2. The constructor does not accept **arguments, which
is a problem to pass along the (one or several)
fmtparam mentioned in the doc.
History
Date User Action Args
2007-08-23 14:16:33adminlinkissue797844 messages
2007-08-23 14:16:33admincreate