steve at holdenweb.com
Wed Sep 29 02:28:04 CEST 2004
elbertlev at hotmail.com wrote:
> ----- Original Message -----
> From: "Jeremy Jones" <zanesdad at bellsouth.net>
> To: "Elbert Lev" <elbertlev at hotmail.com>
> Cc: <python-list at python.org>
> Sent: Tuesday, September 28, 2004 1:13 PM
> Subject: Re: annoying behavior
> Sure it would be nice if a the interpreter would give a warning before
> really instantiating the instance of class foo (at least in "debug" mode).
> In my case the error happened after the program ran about 30 minutes. I do
> not think this is impossible.
If not thinking something impossible actually made it possible then it
would be possible for me to ignore this thread rather than responding to it.
Next you'll be asking us to modify the compiler so it produces an error
if someone feeds it a program that never terminates.
If your program ran for 30 minutes before this quite-obvious bug
appeared then I should suggest you do some serious reading on the
subjects of unit-testing and test-first programming.
Alternatively, look for a language with DWIM-mode :-)
More information about the Python-list