Message251397
| Author |
martin.panter |
| Recipients |
docs@python, mark.dickinson, martin.panter, r.david.murray |
| Date |
2015年09月23日.02:40:03 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1442976003.58.0.474172525266.issue22052@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Does anyone know enough about Python 2 to propose a fix? I don’t know enough about object classes versus "instance" classes, and potential interference of the __cmp__() method. In Python 2 the order seems to depend on the class type:
(<__main__.A instance at 0x7f730d37f5f0>, <__main__.B instance at 0x7f730d37f518>)
(<__main__.B object at 0x7f730d37dc10>, <__main__.A object at 0x7f730d37d110>)
Or perhaps we should just close this now and forget about Python 2 ;) |
|