> "1/0" is much faster to type than "raise SomeError" and serves the same
> purpose sometimes for debugging purposes.  Let's not forget that not
> all code is written for eternity :)
>

Doesn't "raise" do the same thing for just two extra characters?

I agree that not all code lives forever -- but I bet we all have
stories about "debugging code" living on a lot longer than it should
have. ;)

-cc
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to