[issue13997] Add open_ascii() builtin

Antoine Pitrou report at bugs.python.org
Sun Feb 12 05:48:21 CET 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

Hmm, what happened to "not every one-liner should be a builtin function"?

> I'm only manipulating the ASCII parts

How can you be sure about that?

> It would be significantly more friendly to beginners (and migrants from 
> Python 2)

To the point that many of them would stop thinking about the problem, and start producing unicode-incompatible code.
The idea that it may be presented as a porting recipe is IMO a good reason to oppose introducing this new function.

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list