Re: Couple of questions...

Sebastien Bigaret <[email protected]> 27 Apr 2004 21:08:52 +0200
Newsgroups gmane.comp.python.modeling
Message-ID <[email protected]>
John Lenton <[email protected]> wrote:
> agreed, and I think I pointed out (I know I tried to point out) the
> second one of these. However the first is what I understood was being
> requested.

Seems like I misunderstood your post, sorry

> The way I think I'd *like* to solve the second one is along the lines of
> 
>   ec.fetch('Writer.books.publisher', unique=True)
> 
> or, perhaps (if something sensible can be found to fill in the
> ellipsis),
> 
>   ec.fetch('Writer.books.publisher', groupBy='...')
> 
> 
> The first could be ameliorated by having fetch return an iterator
> instead of a list...
[+ more on "smarter lists", such as algebra sets]

Interesting idea indeed, I'm afraid i've not enough time to comment on this
now though. Should I forget about it, you can recall me of your comments in a
week when I'll be back online. Even if it sounds like dropping support for
py2.1 (not sure however), it seems bright enough to be worth the
investigation ;)

  [do not misunderstannd me here, I do not plan to drop support for
   py2.1 by now]

> References:
> 1) http://www.cs.sfu.ca/CC/354/zaiane/material/notes/Chapter3/node7.html

Still did not find the time or energy :) to look at the reference, but I
promise we'll discuss this deeper.

-- Sébastien.



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg297