curry.objects.handle module

class curry.objects.handle.Handle(obj)[source]

Bases: object

Provides an internal interface to proxy objects such as CurryModule and CurryPackage. Since those objects contain arbitrary user-defined names, it is not safe to add any methods. When such objects themselves (rather than their contents) are of interest, this interface can instead be used.

property backend_handle
empty()[source]
findmodule(fullname)[source]
property fullname
property get_builtin_symbolname
property get_builtin_typename
getsymbol(name)[source]

Method of CurryModule to look up a symbol by name.

gettype(name)[source]

Method of CurryModule to look up a type by name.

property icurry
property is_package
items()[source]
iteritems()[source]
iterkeys()[source]
itermodules()[source]
itervalues()[source]
keys()[source]
property name
package(interp)[source]
packagename()[source]
property public_symbols
property sofilename
property source_mtime

The modification time of the source file of the module at its import (st_mtime_ns; see interpreter.import_.record_source), or None for a module without a readable source file.

submodule(name)[source]
property symbolnames
property symbols
property types
values()[source]
property warned_mtime

The modification time of the source file when the warning of an edited source was last logged for this module object (interpreter.import_.warn_edited), or None.

curry.objects.handle.getHandle(obj)[source]