This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | bethard |
|---|---|
| Recipients | bethard |
| Date | 2008年03月18日.06:53:04 |
| SpamBayes Score | 0.0825501 |
| Marked as misclassified | No |
| Message-id | <1205823187.65.0.62140243624.issue2373@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I'm attaching a patch that handles object comparisons, type comparisons, cell comparisons, and dict comparisons. All the tests pass (including the new ones I've added) but I'd appreciate it if someone could take a second look. Other things still remaining to be done: * Someone needs to decide the correct behavior for method-wrappers (descrobject.c), implement that in Python 2.6 and forward port it to 3.0. * The following objects have a good tp_richcompare in Python 3.0: codeobject.c, methodobject.c, sliceobject.c. Those tp_richcompares should be backported to 2.6. Then a warning can be added for LE, LT, GE and GT (with no warning for EQ or NE which won't change). I may have a little time tomorrow to work on the latter task. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年03月18日 06:53:07 | bethard | set | spambayes_score: 0.0825501 -> 0.0825501 recipients: + bethard |
| 2008年03月18日 06:53:07 | bethard | set | spambayes_score: 0.0825501 -> 0.0825501 messageid: <1205823187.65.0.62140243624.issue2373@psf.upfronthosting.co.za> |
| 2008年03月18日 06:53:07 | bethard | link | issue2373 messages |
| 2008年03月18日 06:53:06 | bethard | create | |