<br><br><div class="gmail_quote">On Wed, Dec 9, 2009 at 10:52, Guido van Rossum <span dir="ltr"><<a href="mailto:guido@python.org">guido@python.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Could it be as simple as this:<br>
<br>
-b don't read bytecode (new flag)<br>
-B don't write bytecode (existing flag)<br></blockquote><div><br></div><div>Unfortunately no: -b is "issue warnings about str(bytes_instance), str(bytearray_instance) and comparing bytes/bytearray with str. (-bb: issue errors)" under python3.</div>

<div><br></div><div>-Brett</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
?<br>
<div><div></div><div class="h5"><br>
On Wed, Dec 9, 2009 at 10:48 AM, Brett Cannon <<a href="mailto:brett@python.org">brett@python.org</a>> wrote:<br>
><br>
><br>
> 2009/12/9 Paul Moore <<a href="mailto:p.f.moore@gmail.com">p.f.moore@gmail.com</a>><br>
>><br>
>> 2009/12/9 Brett Cannon <<a href="mailto:brett@python.org">brett@python.org</a>>:<br>
>> > I prefer the former as well (don't read any bytecode no matter if source<br>
>> > is<br>
>> > available or not); clear and simple semantics that are easy to<br>
>> > implement.<br>
>><br>
>> If that's the rule, what is the point in writing bytecode at all?<br>
>> It'll never be read...<br>
><br>
> This entire discussion is in the context of having a flag you need to set to<br>
> turn off bytecode usage; the default behavior is not going to change.<br>
> -Brett<br>
</div></div><div class="im">> _______________________________________________<br>
> Python-ideas mailing list<br>
> <a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
> <a href="http://mail.python.org/mailman/listinfo/python-ideas" target="_blank">http://mail.python.org/mailman/listinfo/python-ideas</a><br>
><br>
><br>
<br>
<br>
<br>
</div><div><div></div><div class="h5">--<br>
--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)<br>
</div></div></blockquote></div><br>