durusmail: quixote-users: _q_resolve summary
_q_import summary
2003-01-21
2003-01-21
2003-01-21
_q_resolve summary
2003-01-21
2003-01-21
2003-01-21
2003-01-21
2003-01-21
2003-01-21
2003-01-21
2003-01-21
2003-01-22
2003-01-21
2003-01-23
_q_resolve summary
Titus Brown
2003-01-21
-> 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.

assert is turned off on optimization.  Not sure that's a good idea.

--titus

reply