try/except/finally

Shiyao Ma i at introo.me
Mon Jun 9 12:23:39 EDT 2014


It would be great if someone could discuss it from the viewpoint of
bytecode. e.g., how the stack is popped, etc.


2014-06-09 17:40 GMT+08:00 Marko Rauhamaa <marko at pacujo.net>:

> Philip Shaw <jnufcvyvuc at tznvy.pbz>:
>
> > OTOH, it could just be that Guido didn't think of banning [return from
> > finally] when exceptions were first added and doesn't want to
> > introduce an incompatability later.
>
> You don't have to ban all nonsensical things. Most guns allow you to
> shoot yourself in the foot, even those with static type checking.
>
>
> Marko
> --
> https://mail.python.org/mailman/listinfo/python-list
>



-- 

吾輩は猫である。ホームーページはhttp://introo.me。
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20140610/af56539e/attachment.html>


More information about the Python-list mailing list