Message177689
As Mark pointed out, this is on purpose and is not going to change since Python lacks block-level scoping of variables and thus causes the last case related to the variable to take precedence. It might be a little unexpected, but it's not that unreasonable when you think about scoping rules and understand how 'except' blocks work. |
|
Date |
User |
Action |
Args |
2012-12-18 13:40:15 | brett.cannon | set | recipients:
+ brett.cannon, mark.dickinson, serhiy.storchaka |
2012-12-18 13:40:15 | brett.cannon | set | messageid: <1355838015.53.0.114200948537.issue16703@psf.upfronthosting.co.za> |
2012-12-18 13:40:15 | brett.cannon | link | issue16703 messages |
2012-12-18 13:40:14 | brett.cannon | create | |
|