Re: itertools.intersect?

2009-06-10 Thread David M. Wilson
On Jun 10, 11:24 pm, David Wilson wrote: > Hi, > > During a fun coding session yesterday, I came across a problem that I > thought was already solved by itertools, but on investigation it seems > it isn't. > > The problem is simple: given one or more ordered sequences, return > only the objects th

Re: itertools.intersect?

2009-06-10 Thread David M. Wilson
On Jun 11, 12:59 am, Jack Diederich wrote: > On Wed, Jun 10, 2009 at 6:24 PM, David Wilson wrote: > > During a fun coding session yesterday, I came across a problem that I > > thought was already solved by itertools, but on investigation it seems > > it isn't. > > > The problem is simple: given on

Re: itertools.intersect?

2009-06-10 Thread David M. Wilson
On Jun 11, 3:05 am, Chris Rebert wrote: > On Wed, Jun 10, 2009 at 5:53 PM, Mensanator wrote: > > On Jun 10, 5:24 pm, David Wilson wrote: > >> Hi, > > >> During a fun coding session yesterday, I came across a problem that I > >> thought was already solved by itertools, but on investigation it seem