On Wed, 12 Oct 2016, Jeroen Demeyer wrote:
What you expect. A MemoryError will be raised, which is caught by the "except Exception".
OK. What are exceptions that "except Exception:" does not catch, but "except:" will catch?
So I agree that code like the above is bad (but not nearly as bad as a bare "except:")
OK, I'll correct those when I see one. There are 56 on combinat, 50 on rings and 30 on graphs. -- Jori Mäntysalo