Re: case insensitive list ?

2010-04-06 Thread Stef Mientki
On 05-04-2010 19:23, Robert Kern wrote: On 2010-04-05 12:17 PM, Stef Mientki wrote: hello, AFAIK there's no case insensitive list in Python. By case insentive I mean that that sort and memebr of is case insensitive. Does soeone has a implementation of sucha case insensitive list

case insensitive list ?

2010-04-05 Thread Stef Mientki
hello, AFAIK there's no case insensitive list in Python. By case insentive I mean that that sort and memebr of is case insensitive. Does soeone has a implementation of sucha case insensitive list ? thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

Re: case insensitive list ?

2010-04-05 Thread Robert Kern
On 2010-04-05 12:17 PM, Stef Mientki wrote: hello, AFAIK there's no case insensitive list in Python. By case insentive I mean that that sort and memebr of is case insensitive. Does soeone has a implementation of sucha case insensitive list ? mylist.sort(key=lambda x: x.lower()) any(x.lower