[issue9603] os.ttyname() and os.ctermid() don't decode result according to PEP 383
David Watson
report at bugs.python.org
Sat Aug 14 21:09:13 CEST 2010
New submission from David Watson <baikie at 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 <report at bugs.python.org>
<http://bugs.python.org/issue9603>
_______________________________________
More information about the Python-bugs-list
mailing list