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 mbussonn
Recipients mbussonn
Date 2018-05-17.21:45:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526593521.99.0.682650639539.issue33563@psf.upfronthosting.co.za>
In-reply-to
Content
In Lib/fileinput.py, passing bufsize=0 does not raise any DeprecationWarning.

Also when using `input` the stacklevel could be better as it passes bufsize directly for FileInput.

in Lib/test/test_fileinput.py ; MockFileInput does not reflect the changes of FileInput. Presumably MockFielInput was made to make sure that `input` was passing the parameters as is and should be update accordingly.
History
Date User Action Args
2018-05-17 21:45:22mbussonnsetrecipients: + mbussonn
2018-05-17 21:45:21mbussonnsetmessageid: <1526593521.99.0.682650639539.issue33563@psf.upfronthosting.co.za>
2018-05-17 21:45:21mbussonnlinkissue33563 messages
2018-05-17 21:45:21mbussonncreate