Stephen Thorne <[EMAIL PROTECTED]> wrote:
I would actually like to see pychecker pick up conceptual errors like this:
import datetime datetime.datetime(2005, 04,04)
Why is that a conceptual error? Syntactically, this could be a valid call to a function. Even if you have parsed and executed datetime, so that you know datetime.datetime is a class, it's quite possible that the creation and destruction of an object might have useful side effects.
I'm guessing that Stephen is saying that PyChecker should have special knowledge of the datetime module and of the fact that dates are often specified with a leading zero, and therefor complain that they shouldn't be used that way in Python source code.
--
http://mail.python.org/mailman/listinfo/python-list