## Deprecated API

Contents

- Deprecated Interfaces
- Deprecated Fields
- Deprecated Methods

Deprecated Interfaces
org.python.core.InitModule This class is deprecated. See ClassDictInit for a replacement.

Deprecated Fields
org.python.core.PyInteger.maxInt Use MAX_INT instead.
org.python.core.PyLong.maxLong Use MAX_INT instead.
org.python.core.PyLong.maxULong Use MAX_ULONG instead.
org.python.core.PyInteger.minInt Use MIN_INT instead.
org.python.core.PyLong.minLong Use MIN_INT instead.

Deprecated Methods
org.python.core.imp.importAll(String, PyFrame)
org.python.core.imp.importFrom(String, String[], PyFrame) use importFrom with level param.
org.python.core.imp.importFromAs(String, String[], PyFrame) use importFromAs with level param.
org.python.core.imp.importOne(String, PyFrame)
org.python.core.imp.importOneAs(String, PyFrame)
org.python.core.Py.matchException(PyException, PyObject) As of Jython 2.5, use `PyException.match(org.python.core.PyObject)` instead.
org.python.modules.errno.strerror(PyObject) Use org.python.core.constantine.Errno.valueOf(code).toString() (or os.strerror from Python) instead.

Jython homepage