Message2852

Author pekka.klarck
Recipients
Date 2007-09-13.15:25:48
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Could this patch be applied to 2.2 branch so that possible 2.2.1 will have the fix also?

Using "key in dictionary" format is considered more pythonic than "dictionary.has_key(key)" and on CPython it's also faster (see e.g. [1]). There's thus probably a lot of code using that format and it's a shame that it's so much slower in Jython 2.2. 

[1] http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html#use-in-where-possible-1
History
Date User Action Args
2008-02-20 17:18:48adminlinkissue1783803 messages
2008-02-20 17:18:48admincreate