Decorator Base Class: Needs improvement.

Greg Ewing greg at cosc.canterbury.ac.nz
Wed Apr 6 00:33:24 EDT 2005


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.

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg



More information about the Python-list mailing list