[Python-ideas] changing sys.stdout encoding

Stephen J. Turnbull stephen at xemacs.org
Sun Jun 10 17:36:25 CEST 2012


Rurpy writes:

 > Or are you saying some api's should be discouraged and making them
 > hard to use is better than a "not recommended" note in the
 > documentation?

No, I'm saying "explicit is better than implicit".  It's not hard to
use the explicit idiom, and it makes it clear that there are two
*different* kinds of problem that could occur, which would be
concealed by an API.




More information about the Python-ideas mailing list