Python needs better error reporting

Fredrik Lundh fredrik at pythonware.com
Mon Jul 1 07:32:22 EDT 2002


"Opus" wrote:

> This being said, the fact that this is not a compiled language

it is.

> it still needs to read the source file to make sure it is up to
> date

it doesn't -- it asks the *file system* for a timestamp.  the
parser's got nothing to do with that.

> Maybe even an option for the parser to spot bad-practice code.
> I.E. Is is faster to call 'var += 1' or 'var = var + 1'.

it's not.

(let's hope whoever implements the "newspeak" module cares enough to
run benchmarks -- and makes sure that we can tell it to shut up when
writing code supposed to run on more than one Python version...)

</F>





More information about the Python-list mailing list