Phillip J. Eby wrote: > I tried doing something like this when I was writing RuleDispatch, and gave > up in disgust because there's no sane way to implement "and" and "or" > operations with this approach. The bitwise operators (&, |, and ~) bind > too tightly to be used with comparison expressions,
Perhaps you'd like to lend your support to PEP 335, then?-) http://www.python.org/dev/peps/pep-0335/ > Maybe in Python 3K the backquote could be used to quote code in some way, > since we won't be using it for repr() anymore. :) I really hope something better could be found. Code in backquotes doesn't look much less ugly than code in normal quotes. -- Greg _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com