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 Version 1

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

Status badges

Description (last modified by fbissey)

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.

Apply:

Change History (2)

Changed 10 years ago by fbissey

replace type.cmp by cmp in strata.py

comment:1 Changed 10 years ago by fbissey

  • Authors set to François Bissey
  • Description modified (diff)
  • Status changed from new to needs_review
Note: See TracTickets for help on using tickets.