commit | 1b0feb4ada9b1ff604f9d3100254f9071a96713f | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Fri May 11 14:48:41 2001 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Fri May 11 14:48:41 2001 +0000 |
tree | 937bae85551e5eb1c1583df03af0fe1702df713f | |
parent | 6278799f8e34bf01de68f989f5f100913fb5e2f5 [diff] |
Variant of SF patch 423181 For rich comparisons, use instance_getattr2() when possible to avoid the expense of setting an AttributeError. Also intern the name_op[] table and use the interned strings rather than creating a new string and interning it each time through.