Stephen Thorne <[EMAIL PROTECTED]> wrote: >On 12 Jan 2005 16:21:29 -0800, PJDM <[EMAIL PROTECTED]> wrote: >> Maybe P3K will have an integer literal like "n_b" for "the integer n in >> base b". > >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. -- - Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list