Issue 1212287: mode argument for fileinput class (original) (raw)

Issue1212287

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.

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/42038

classification

Title: mode argument for fileinput class
Type: Stage:
Components: Library (Lib) Versions: Python 2.5

process

Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, georg.brandl, jjlee
Priority: normal Keywords: patch

Created on 2005-05-31 21:41 by georg.brandl, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
fileinput-patch georg.brandl,2005-05-31 21:41 Patch v1
Messages (4)
msg48395 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2005-05-31 21:41
This patch is in follow-up to bug #860515. It allows to specify a mode argument to the fileinput functions which can be r, rb, rU and U. Complete with test and doc.
msg48396 - (view) Author: John J Lee (jjlee) Date: 2005-12-04 16:36
Logged In: YES user_id=261020 I reviewed this patch and ran the test. Looks good to me. The docs need a \versionchanged for each of the two changed callables.
msg48397 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2005-12-16 19:42
Logged In: YES user_id=1188172 Any other comments?
msg48398 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-02-19 14:12
Logged In: YES user_id=1188172 Committed in revision 42494.
History
Date User Action Args
2022-04-11 14:56:11 admin set github: 42038
2005-05-31 21:41:16 birkenfeld create

Supported by The Python Software Foundation,
Powered by Roundup

Copyright © 1990-2022, Python Software Foundation
Legal Statements