On Fri, Feb 7, 2014 at 5:52 PM, Andrew Barnert
I'm actually not sure whether it's legal to use, say, 0 or "" as the except expression. In recent 3.4 builds, it seems to be accepted, and to never catch anything. So, if that's guaranteed by the language, it's just a simple typo to fix and your simplified implementation works perfectly.
In 3.4b2:
def f(): raise StopIteration
try: f() except "": print("Blank exception caught")
Traceback (most recent call last):
File "