Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
try: finally: question
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Joshua Marshall, post: 1768694"] Why is this not an argument for disallowing multiple except blocks, like: try: raise A() except A: raise B() except B: print 'Did we get here?' This is legal and well-defined in Python. If try/except/finally was removed it seems like multiple except blocks should have been removed too--the behavior of one is as obvious as the other. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
try: finally: question
Top