[Python-Dev] Re: new syntax for wrapping (PEP 318)

Jeff Epler jepler at unpythonic.net
Wed Feb 25 23:03:15 EST 2004


On Wed, Feb 25, 2004 at 04:05:50PM -0800, Paul Prescod wrote:
> I hate to get into this loop where a hundred syntax options are 
> discussed, most of them having been disgarded before, but why not use 
> angle-brackets rather than square-brackets?
> 
> def foo(self) <classmethod, hiddenmethod>:

I haven't yet used an editor that matched angle-brackets well,
especially since they are usually binary operators, not grouping
characters.  Think "if a < b and c > d:"...

Jeff



More information about the Python-Dev mailing list