New submission from Matthias Bussonnier <bussonniermatth...@gmail.com>:
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. ---------- messages: 316988 nosy: mbussonn priority: normal severity: normal status: open title: fileinput input's and Fileinput's bufsize=0 do not remit deprecationWarnings _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33563> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com