On Thu, 15 Nov 2012 07:56:17 -0800, Aahz wrote:

> In article <roy-f45720.08540815112...@news.panix.com>, Roy Smith 
> <r...@panix.com> wrote:
>>In article <mailman.3714.1352986928.27098.python-l...@python.org>,
>> Dave Angel <d...@davea.name> wrote:
>>>
>>> I'd also add a print statement, just to assure yourself that it's
>>> running.
>>
>>My trick to make sure something is running is to add "assert 0".
> 
> ``1/0`` is shorter.  ;-)

It is also guaranteed to run, unlike assert.



-- 
Steven
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to