Opened 10 years ago

Last modified 10 years ago

#11264 closed defect

sage/combinat/iet/strata.py is the last place in sage to use the deprecated type.__cmp__ operator, easy fix. — at Initial Version

Reported by: fbissey Owned by: sage-combinat
Priority: major Milestone: sage-4.7.1
Component: combinatorics Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

type.cmp has been removed from python-2.6.5 and later and is only used in one place in sage. It can be safely replaced by cmp. This will be needed to upgrade python.

Change History (1)

Changed 10 years ago by fbissey

replace type.cmp by cmp in strata.py

Note: See TracTickets for help on using tickets.