I've rethought the problem.
Now using sqlobject.classregistry to determine whether the Class I
need has already been created, and grabbing it, if so.
Works fine.
On Jan 29, 2007, at 1:06 PM, Oleg Broytmann wrote:
> On Mon, Jan 29, 2007 at 12:53:08PM -0500, Christoph Berendes wrote:
>> In principle, anonymous classes would be ideal, e.g.
>>>
>>> self.file = type("", (object,), {'close':lambda slf: None})()
>
> But you have to put SQLObject in the list of base classes, and
> as soon
> as you do this SQLObject's metaclass bite you the same way you are
> trying
> to avoid, no?
>
> Oleg.
> --
> Oleg Broytmann http://phd.pp.ru/
> [EMAIL PROTECTED]
> Programmers don't die, they just GOSUB without RETURN.
>
> ----------------------------------------------------------------------
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> sqlobject-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss