John Tapsell added the comment: > If you need islastline() you can use a wrapper:
This doesn't work because fileinput.filename() and fileinput.filelineno() are going to be wrong and pointing to the next file. ---------- nosy: +John Tapsell _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue968063> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com