Hi,<div><br></div><div>As someone pointed out, I think PEP 342 (coroutines via enhanced generators) anyway kills this proposal since it is currently possible to do something like:</div><div>val = yield</div><div>where yield is a keyword. </div>
<div><br></div><div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div><div><span style="background-color: rgb(240, 240, 240); ">
</span><div><font face="arial, helvetica, sans-serif">The fact that another language allows you to shoot yourself in the foot isn't a good argument that Python should allow that too.</font></div></div></div></div></blockquote>
<div><br></div><div>If I do:</div><div>__builtins__.exit = os._exit = os.kill = sys.exit = lambda *args: False</div><div><br></div><div>is there a way to programmatically exit?</div></div><br></div></div><div>Regards,</div>
<div>Krishnan</div><div><br></div>