<div dir="ltr">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).<br><div><br><div class="gmail_extra">-- <br><div class="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)</div>
</div></div></div>