[issue9603] os.ttyname() and os.ctermid() don't decode result according to PEP 383

2010-08-15 Thread STINNER Victor
STINNER Victor added the comment: Commited to 3.1 as r84061 and to 3.2 as r84060. Thanks David. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue9603] os.ttyname() and os.ctermid() don't decode result according to PEP 383

2010-08-14 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue9603] os.ttyname() and os.ctermid() don't decode result according to PEP 383

2010-08-14 Thread David Watson
New submission from David Watson : 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 seve