[Python-Dev] PEP 318 - posting draft

Skip Montanaro skip at pobox.com
Wed Mar 24 09:17:31 EST 2004


    >> 2. Define a class with a singleton instance.
    >> 
    >> class MyClass [singleton]:
    >> ...

    Greg> This example appears before you've mentioned the possibility of
    Greg> applying this to classes. May be the "Possible Extensions" section
    Greg> should appear earlier?

Actually, it should be deleted and the PEP updated.  Michael's latest patch
apparently supports class decorators, so it's no longer an extension.

Skip



More information about the Python-Dev mailing list