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 mark.dickinson
Recipients amaury.forgeotdarc, benjamin.peterson, brett.cannon, christian.heimes, georg.brandl, gpolo, lemburg, mark.dickinson, pitrou, rhettinger
Date 2009-01-30.17:38:41
SpamBayes Score 8.890908e-06
Marked as misclassified No
Message-id <1233337130.4.0.686120307796.issue1717@psf.upfronthosting.co.za>
In-reply-to
Content
Here's stage 2:  remove uses of tp_compare from Objects and Modules, and
replace uses of PyObject_Compare with PyObject_RichCompareBool.
PyObject_Compare, cmp and friends still haven't been removed at this
stage.

In detail:
  - for cell objects, method wrapper objects, PyTclObjects, and
    PyST_Objects (in the parser module), remove the defined tp_compare
    methods and implement tp_richcompare instead.
  - add tests for cell comparisons and PyST_Object comparisons;  
reenable
    tests for method wrapper comparisons.  There are no tests for the
    PyTclObject comparisons.
  - remove tp_compare method from sets (all it did was emit an error
    message about the nonsensicality of doing order comparisons on sets)
  - in Objects/rangeobject.c and ElementTree, replace uses of
    PyObject_Compare with PyObject_RichCompareBool
History
Date User Action Args
2009-01-30 17:38:51mark.dickinsonsetrecipients: + mark.dickinson, lemburg, brett.cannon, georg.brandl, rhettinger, amaury.forgeotdarc, pitrou, christian.heimes, benjamin.peterson, gpolo
2009-01-30 17:38:50mark.dickinsonsetmessageid: <1233337130.4.0.686120307796.issue1717@psf.upfronthosting.co.za>
2009-01-30 17:38:48mark.dickinsonlinkissue1717 messages
2009-01-30 17:38:47mark.dickinsoncreate