Ask Your Question

Revision history [back]

Abstract base classes

Python has a module named abc for implementing "abstract base classes", see http://www.python.org/dev/peps/pep-3119/ for definitions and usage. Why is it not used in Sage ?

Example: if type(i) is 'int', isinstance (i, Integer) should be True (today it's False).