Brett Cannon <br...@python.org> added the comment: Either that or PyObject *_Py_device_encoding(PyObject *fd) would help since both _io and posixmodule.c will have a PyObject already for the fd.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14153> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com