This branch looks good. Here are a couple of little things:
I would add MemoryError to the (SystemExit, KeyboardInterrupt)
exceptions. Since that tuple is repeated several times you might want
to define a "constant" for it as well.
I don't understand the comment near the end of the diff: "This should
never happen."
This branch looks good. Here are a couple of little things:
I would add MemoryError to the (SystemExit, KeyboardInterrupt)
exceptions. Since that tuple is repeated several times you might want
to define a "constant" for it as well.
I don't understand the comment near the end of the diff: "This should
never happen."