[issue14153] Expose os.device_encoding() at the C level

STINNER Victor report at bugs.python.org
Tue Feb 28 23:23:09 CET 2012


STINNER Victor <victor.stinner at gmail.com> added the comment:

If it can help to bootstrap importlib, you can add:

PyObject* _Py_device_encoding(int fd);

And reuse it in posixmodule.c.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14153>
_______________________________________


More information about the Python-bugs-list mailing list