wrote:
> > > > > Hi all,
>
> > > > > I think Python should have a relation class in the standard library.
> > > > > Fat chance.
>
> > > > Perhaps I'm not understanding "relation" correctly, but are you not
&
On Apr 22, 11:34 pm, Aaron Brady wrote:
> On Apr 22, 11:52 am, Aaron Brady wrote:
>
> > On Apr 22, 12:09 am, Chris Rebert wrote:
>
> > > On Tue, Apr 21, 2009 at 5:51 PM, Aaron Brady wrote:
> > > > Hi all,
>
> > > > I think Python s
On Apr 22, 11:52 am, Aaron Brady wrote:
> On Apr 22, 12:09 am, Chris Rebert wrote:
>
> > On Tue, Apr 21, 2009 at 5:51 PM, Aaron Brady wrote:
> > > Hi all,
>
> > > I think Python should have a relation class in the standard library.
> > > Fat chance.
>
On Apr 22, 12:09 am, Chris Rebert wrote:
> On Tue, Apr 21, 2009 at 5:51 PM, Aaron Brady wrote:
> > Hi all,
>
> > I think Python should have a relation class in the standard library.
> > Fat chance.
>
> Perhaps I'm not understanding "relation&qu
On Tue, Apr 21, 2009 at 5:51 PM, Aaron Brady wrote:
> Hi all,
>
> I think Python should have a relation class in the standard library.
> Fat chance.
Perhaps I'm not understanding "relation" correctly, but are you not
aware of http://docs.python.org/library/sqlite3.
Hi all,
I think Python should have a relation class in the standard library.
Fat chance. I want to write a recipe for it, but I don't know how. I
want your advice on some of the trade-offs, what it should look like,
what the pitfalls are, different strengths and weaknesses, etc.
Fundamen
On Jan 17, 10:45 am, Steven D'Aprano wrote:
> On Sat, 17 Jan 2009 00:24:21 -0800, Aaron Brady wrote:
> > Can you make it work for a 3-way lookup?
>
> What do you mean "3-way lookup"?
>
> I'm going to take a guess...
>
> A maps to B, B maps to C, and C maps to A.
>
> Is that what you mean?
So long
On Sat, 17 Jan 2009 00:24:21 -0800, Aaron Brady wrote:
> Can you make it work for a 3-way lookup?
What do you mean "3-way lookup"?
I'm going to take a guess...
A maps to B, B maps to C, and C maps to A.
Is that what you mean?
--
Steven
--
http://mail.python.org/mailman/listinfo/python-lis
On Jan 16, 5:03 am, Steven D'Aprano wrote:
> On Wed, 14 Jan 2009 16:30:36 -0800, Aaron Brady wrote:
> > Hi, this is a continuation of something that comes up now and again
> > about reverse lookups on dictionaries, as well as a follow-up to my
> > pursuit of a R
On Wed, 14 Jan 2009 16:30:36 -0800, Aaron Brady wrote:
> Hi, this is a continuation of something that comes up now and again
> about reverse lookups on dictionaries, as well as a follow-up to my
> pursuit of a Relation class from earlier.
[...]
> What's the best way to construc
On Jan 14, 7:54 pm, MRAB wrote:
> Aaron Brady wrote:
> > Hi, this is a continuation of something that comes up now and again
> > about reverse lookups on dictionaries, as well as a follow-up to my
> > pursuit of a Relation class from earlier.
>
> > For a reverse loo
On Jan 14, 7:04 pm, Chris Rebert wrote:
> On Wed, Jan 14, 2009 at 4:30 PM, Aaron Brady wrote:
> > Hi, this is a continuation of something that comes up now and again
> > about reverse lookups on dictionaries, as well as a follow-up to my
> > pursuit of a Relation class from
Aaron Brady wrote:
Hi, this is a continuation of something that comes up now and again
about reverse lookups on dictionaries, as well as a follow-up to my
pursuit of a Relation class from earlier.
For a reverse lookup, you just need two lookups.
name= {}
phone= {}
name[ '555-963'
On Wed, Jan 14, 2009 at 4:30 PM, Aaron Brady wrote:
> Hi, this is a continuation of something that comes up now and again
> about reverse lookups on dictionaries, as well as a follow-up to my
> pursuit of a Relation class from earlier.
>
> For a reverse lookup, you just need two
Hi, this is a continuation of something that comes up now and again
about reverse lookups on dictionaries, as well as a follow-up to my
pursuit of a Relation class from earlier.
For a reverse lookup, you just need two lookups.
name= {}
phone= {}
name[ '555-963' ]= 'Joan'
phone
15 matches
Mail list logo