[prev in list] [next in list] [prev in thread] [next in thread]
List: python-ldap-dev
Subject: Re: cidict problems
From: Jens Vagelpohl <jens () zope ! com>
Date: 2002-08-08 13:47:42
[Download RAW message or body]
just as a FYI: we're kind of "stuck" on 2.1.3 as far as zope goes right
now, so that will be the version that people run who run a recent version
of zope.
the first version of zope to "officially" support 2.2.x will be 2.7, which
is a few months away.
jens
On Thursday, August 8, 2002, at 09:42 , Michael Ströder wrote:
> Jens Vagelpohl wrote:
>> in your last mail you said that the UserDict.get method would turn
>> around and use __getitem__. this is not true, it uses "get" itself. i am
>> working on python 2.1.3, maybe this has changed in the version you are
>> using.
>
> I'm using 2.2.1.
>
>> here is the relevant code::
>> 35 def get(self, key, failobj=None):
>> 36 -> return self.data.get(key, failobj)
>
> Aaargh, that's flawed!
>
>> maybe the cidict class should override the method "get" as well?
>
> /bin/done
>
> I've also added .keys() and .items() with case-respecting handling
> including test cases.
>
> Everyone is encouraged to test with different Python versions (without
> using option -O off course)!
>
> $ python Lib/ldap/cidict.py
>
> Ciao, Michael.
>
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic