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 garyp
Recipients garyp
Date 2015-07-28.02:08:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1438049324.32.0.674993969885.issue24739@psf.upfronthosting.co.za>
In-reply-to
Content
argparse.FileType should support a "newline" argument that corresponds to the "newline" parameter to open(). In addition to more closely mirroring the open() API, this is also needed to properly use argparse.FileType with csv.reader() or csv.writer() (which require the file being passed in to have been opened with newline='').
History
Date User Action Args
2015-07-28 02:08:44garypsetrecipients: + garyp
2015-07-28 02:08:44garypsetmessageid: <1438049324.32.0.674993969885.issue24739@psf.upfronthosting.co.za>
2015-07-28 02:08:44garyplinkissue24739 messages
2015-07-28 02:08:43garypcreate