New submission from Antoine Pitrou <pit...@free.fr>: This is a potentially annoying incompatibility between platforms. Under Linux:
>>> import os >>> print(os.device_encoding(1000)) None ---------- components: Interpreter Core messages: 84079 nosy: pitrou priority: normal severity: normal status: open title: With invalid FD, os.device_encoding() returns None under Linux but raises an error under Windows type: behavior versions: Python 3.0, Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5552> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com