On 21 January 2003, Andrew Kuchling said:
> 1) quixote.errors.BozoProgrammerError, or some less rude name; suggestions?
> 2) Python's RuntimeError
> 3) NameError
> 4) Use 'assert object is not None', in which case it'll be AssertionError.
>
> No one will be catching this exception or looking for it (unless
> they're awesomely evil). I vote for 2).
+1 on RuntimeError. +0.5 on assert.
Greg