Top Deprecated By Reference
Jython 2.7.4

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
org.python.antlr.BaseParser(CharStream stream, String filename, String encoding, boolean partial)

org.python.core.InitModule

This class is deprecated. See ClassDictInit for a replacement.

org.python.core.Options.verbose

Use Py#getLoggingLevel(), Py#setLoggingLevel(java.util.logging.Level), or java.util.logging preferences to configure logging levels.

Returns:

actual storage size
org.python.core.PyArray.getStorageSize
()

Use getItemsize() instead which (since 2.7.3) gives the same result.

org.python.core.PyLong.maxLong

Use MAX_INT instead.

org.python.core.PyLong.maxULong

Use MAX_ULONG instead.

org.python.core.PyLong.minLong

Use MIN_INT instead.

org.python.core.PyShadowString(PyObject primary, String shadow)

use the constructor with strings instead.

Returns:

Java byte code as array
org.python.core.imp.compileSource
(String
of module (class name will be name$py)
name
,
File
file containing the source
source
,
String
explicit source file name (or null to use that in source)
sourceFilename
,
String
ignored (huh?)
compiledFilename
)

Use compileSource(String, File, String) instead.

org.python.core.imp.importFrom(String mod, String[] names, PyFrame frame)

use importFrom with level param.

org.python.core.imp.importFromAs(String mod, String[] names, PyFrame frame)

use importFromAs with level param.

org.python.modules.SHA224Digest

use the SHA224 implementation provided in Java 8 and later

org.python.modules.errno.strerror(PyObject code)

Use jnr.constants.platform.Errno.valueOf(code).toString() (or os.strerror from Python) instead.

org.python.modules.jffi.SkinnyMethodAdapter.visitMethodInsn(int
the opcode of the type instruction to be visited. This opcode is either INVOKEVIRTUAL, INVOKESPECIAL, INVOKESTATIC or INVOKEINTERFACE.
arg0
,
String
the internal name of the method's owner class (see Type#getInternalName()).
arg1
,
String
the method's name.
arg2
,
String
the method's descriptor (see Type).
arg3
)

Deprecated Reference Summary

SinceItem with Deprecated Reference and Description

Returns:

structure defining the byte[] slice that is the shared data
org.python.core.PyBuffer.getBuf
()

PyBuffer.Pointer is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

structure defining the byte[] slice that is the shared data
org.python.core.PyBuffer.getPointer
(int
in the buffer to position the pointer
index
)

PyBuffer.Pointer is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

structure defining the byte[] slice that is the shared data
org.python.core.PyBuffer.getPointer
(int...
multidimensional index at which to position the pointer
indices
)

PyBuffer.Pointer is deprecated or references (maybe indirectly) at least one deprecated element.

org.python.core.buffer.BaseArrayBuffer.getBuf()

PyBuffer.Pointer is deprecated or references (maybe indirectly) at least one deprecated element.

org.python.core.buffer.BaseBuffer.getBuf()

PyBuffer.Pointer is deprecated or references (maybe indirectly) at least one deprecated element.

org.python.core.buffer.BaseBuffer.getPointer(int
in the buffer to position the pointer
index
)

PyBuffer.Pointer is deprecated or references (maybe indirectly) at least one deprecated element.

org.python.core.buffer.BaseBuffer.getPointer(int...
multidimensional index at which to position the pointer
indices
)

PyBuffer.Pointer is deprecated or references (maybe indirectly) at least one deprecated element.

org.python.core.buffer.BaseNIOBuffer.getBuf()

PyBuffer.Pointer is deprecated or references (maybe indirectly) at least one deprecated element.

org.python.core.buffer.SimpleBuffer.getPointer(int
in the buffer to position the pointer
index
)

PyBuffer.Pointer is deprecated or references (maybe indirectly) at least one deprecated element.

org.python.core.buffer.SimpleBuffer.getPointer(int...
multidimensional index at which to position the pointer
indices
)

PyBuffer.Pointer is deprecated or references (maybe indirectly) at least one deprecated element.

org.python.core.buffer.SimpleStringBuffer.getBuf()

PyBuffer.Pointer is deprecated or references (maybe indirectly) at least one deprecated element.

org.python.core.buffer.SimpleStringBuffer.getPointer(int
in the buffer to position the pointer
index
)

PyBuffer.Pointer is deprecated or references (maybe indirectly) at least one deprecated element.

org.python.core.buffer.SimpleStringBuffer.getPointer(int...
multidimensional index at which to position the pointer
indices
)

PyBuffer.Pointer is deprecated or references (maybe indirectly) at least one deprecated element.

org.python.core.buffer.Strided1DBuffer.getPointer(int
in the buffer to position the pointer
index
)

PyBuffer.Pointer is deprecated or references (maybe indirectly) at least one deprecated element.

org.python.core.buffer.Strided1DBuffer.getPointer(int...
multidimensional index at which to position the pointer
indices
)

PyBuffer.Pointer is deprecated or references (maybe indirectly) at least one deprecated element.

org.python.core.buffer.ZeroByteBuffer.getBuf()

PyBuffer.Pointer is deprecated or references (maybe indirectly) at least one deprecated element.

org.python.modules.SHA224Digest(SHA224Digest t)

SHA224Digest is deprecated or references (maybe indirectly) at least one deprecated element.