New submission from David Watson <bai...@users.sourceforge.net>: These functions each return the path to a terminal, so they should use PyUnicode_DecodeFSDefault(). Patch attached.
---------- components: Extension Modules files: ttyname-ctermid-pep383.diff keywords: patch messages: 113920 nosy: baikie priority: normal severity: normal status: open title: os.ttyname() and os.ctermid() don't decode result according to PEP 383 type: behavior versions: Python 3.1, Python 3.2 Added file: http://bugs.python.org/file18529/ttyname-ctermid-pep383.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9603> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com