[Python-Dev] 2.2a1 patch from PyChecker

Barry A. Warsaw barry@zope.com
Mon, 13 Aug 2001 22:49:05 -0400


>>>>> "AK" == Andrew Kuchling <akuchlin@mems-exchange.org> writes:

    AK> That reminds me: should we put warnings in cgi.py for
    AK> instantiations of FormContent and other old classes, so we can
    AK> delete them in Python 2.3?  One problem: if a class doesn't
    AK> have an __init__ method, subclasses that have their own
    AK> __init__ methods won't call it.  Maybe this could be done by
    AK> adding 'self.warn()' to all the methods of an outdated class,
    AK> and defining a warn() method that raises a warning.

Which reminds me: do you think you'll one day resurrect PEP 222?

-Barry