
26 Jul
2010
26 Jul
'10
10:53 a.m.
On Mon, Jul 26, 2010 at 07:28:30AM -0700, Guido van Rossum wrote:
other odd ducks are 'and' and 'or', though in a pinch one can use '&' and '|' for those. I forget in which camp 'not' falls.
'not' is like 'and' and 'or'. '~' is like '&' and '|'; its magic method is __invert__. I maintain a similar all-magic-methods-overridden class, just for a different ORM (SQLObject), so I am greatly interested in the discussion.
Oleg.
--
Oleg Broytman http://phd.pp.ru/ phd@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.