Turning a signature-changing decorator into a signature-preserving one

Michele Simionato michele.simionato at gmail.com
Mon Feb 16 01:12:32 EST 2009


On Feb 14, 3:27 pm, Michele Simionato <michele.simion... at gmail.com>
wrote:
> I should probably raise a clearer error message.

Ok, I have uploaded version 3.0.1 of the decorator module,
which raises a more meaningful message in case you try to
decorate a method incorrectly. I have also added a
discussion of that case in the "caveats" session.
HTH,

                   M. Simionato



More information about the Python-list mailing list