Possible PEP: Improve classmethod/staticmethod syntax

Skip Montanaro skip at pobox.com
Wed Jun 4 16:03:29 CEST 2003


    bryan> thanks skip... now i can see the elegance of this solution.
    bryan> wouldn't this also solve the pre/post conditions that are
    bryan> currently put in comments with another current solution?  

That was the general idea. ;-)

    bryan> but, how would you handle pre/post conditions that are only
    bryan> supposed to be used in a debug version?

Like I said, it was probably full of holes.

Skip





More information about the Python-list mailing list