"Thomas Dybdahl Ahle" <[EMAIL PROTECTED]> skrev i en meddelelse 
news:[EMAIL PROTECTED]

> Is it possible to make python warn me about those at "compile time"?

No. The compiler only "knows" about it once the broken code is run. I use 
the standard module "unittest" to run through every single bit of Python 
code I write.

Maybe silly, but ... I think it saves me time in the end and forces me to 
think more about my interfaces because one of the early symptoms of stupid 
design is that the test code is a real pain to write. At least Python 
applications tend to be compact compared with C++/Java. 


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

Reply via email to