Decorator Base Class: Needs improvement.

Ron_Adam radam2 at tampabay.rr.com
Wed Apr 6 00:47:30 EDT 2005


On Wed, 06 Apr 2005 16:33:24 +1200, Greg Ewing
<greg at cosc.canterbury.ac.nz> wrote:

>Ron_Adam wrote:
>> I would have preferred the @ symbol to be used as an inline assert
>> introducer.  Which would have allowed us to put debug code anywhere we
>> need.  Such as   @print total @.
>
>Don't lose heart, there are still two unused characters
>left, $ and ?.
>
>? might even be more mnemonic for this purpose, as
>
>     ?print "foo =", foo
>
>has a nice hint of "WT?%$%$ is going on at this point?"
>to it.

LOL, yes, it does.  :-)





More information about the Python-list mailing list