Re: Using debug print routine inside assert
From: Michael Sparks (Michael.Sparks_at_rd.bbc.co.uk)
Date: 11/04/03
- Next message: Peter Hansen: "Re: Does python always need to compile ENTIRE program before it can start to run it???"
- Previous message: Zunbeltz Izaola: "Re: Rounding"
- In reply to: Edvard Majakari: "Using debug print routine inside assert"
- Next in thread: Peter Hansen: "Re: Using debug print routine inside assert"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 4 Nov 2003 13:38:51 +0100 To: Edvard Majakari <edvard+news@majakari.net>, python-list@python.org
On Tuesday 04 Nov 2003 12:15 pm, Edvard Majakari wrote:
...
> What do you think, what is the best solution for this kind of problem? I
> for one wouldn't like to see myself writing assert(debug(...)) every now
> and then :)
I haven't got a solution to this, but I would be interested in a solution as
well. I came to similar conclusions some months back and have been doing
assert/debug for a while now, and the difference between -OO and debug is
diverging very heavily. (couple of orders of magnitude kinds of differences)
Michael.
-- Michael Sparks, Senior R&D Engineer, Digital Media Group Michael.Sparks@rd.bbc.co.uk, +44 (0) 1737 839754 British Broadcasting Corporation, Research and Development Kingswood Warren, Surrey KT20 6NP
- Next message: Peter Hansen: "Re: Does python always need to compile ENTIRE program before it can start to run it???"
- Previous message: Zunbeltz Izaola: "Re: Rounding"
- In reply to: Edvard Majakari: "Using debug print routine inside assert"
- Next in thread: Peter Hansen: "Re: Using debug print routine inside assert"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]