Eryk Sun added the comment: I added some tests to ensure open() returns an instance of _WindowsConsoleIO for a few console paths. It also checks that opening a non-console file raises a ValueError, both for a path and an fd, as well for a negative file descriptor.
---------- Added file: http://bugs.python.org/file46462/issue_28164_02.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28164> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com