[New-bugs-announce] [issue35490] Remove the DecodeFSDefault return converter in Argument Clinic

Serhiy Storchaka report at bugs.python.org
Fri Dec 14 04:39:36 EST 2018


New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

The DecodeFSDefault return converter is used only in one function, os.ttyname(). It could be used also in os.ctermid(), but in any case there are too small use cases for it, because it is very uncommon to return a bare pointer to static C string. Since it is such uncommon and using this return converter does not add much to readability, I think that it is better to remove it.

----------
components: Argument Clinic
messages: 331790
nosy: larry, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Remove the DecodeFSDefault return converter in Argument Clinic

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35490>
_______________________________________


More information about the New-bugs-announce mailing list