Radek
On 12/12/05, James Bennett <[EMAIL PROTECTED]> wrote:
On 12/11/05, Robert Wittams <[EMAIL PROTECTED]> wrote:
> Its pretty orthogonal to most of the other suggestions.
Yeah, but as proposed lookup syntaxes go, this one is by far the best.
And implementing special methods like __len__ would make it just about
perfect, IMHO; the closer we can get to models behaving like standard
Python classes, the better.
> However, I think using a descriptor it is possible to make the "object
> manager" work in the way that people seem to want - allowing access via
> the class, but not via the instance ( seperation of table wide and
> instance-specific functionality.)
This is pretty cool.
--
"May the forces of evil become confused on the way to your house."
-- George Carlin