[Python-ideas] Boolean parameters guidelines

Guido van Rossum guido at python.org
Mon May 9 14:24:53 EDT 2016


Let's just all remember that open() is a huge antipattern. Having a return
type that depends on the value of an argument is terrible, and open() has
two flags smushed into a single string (binary mode and read/write/both).

-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160509/b20334e5/attachment.html>


More information about the Python-ideas mailing list