[Python-ideas] Non-boolean return from __contains__

Oleg Broytman phd at phd.pp.ru
Tue Jul 27 21:22:14 CEST 2010

On Tue, Jul 27, 2010 at 09:06:42PM +0200, Antoine Pitrou wrote:
> Yes, you only have to write a dedicated full-fledged parser, your code
> isn't highlighted properly in text editors, and you can't easily access
> Python objects declared in the enclosing scope.
> I guess it explains that none of the common ORMs seem to have adopted
> such a ???great design decision??? :-)

   Python ORMs are about mapping between *Python* and SQL - we don't need
no stinking DSLs! ;)

     Oleg Broytman            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

More information about the Python-ideas mailing list