Serhiy Storchaka added the comment: May be include closefd in the repr only when it is False? By default closefd is True and in common case the repr will be more compact.
---------- Added file: http://bugs.python.org/file36979/io_fileio_repr_closefd_2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17401> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com