python vocabulary
Factor handbook » Vocabulary index


Documentation
Python binding

Metadata
Tags:ffi, languages, bindings
Authors:Björn Lindqvist


Words

Tuple classes
ClassSuperclassSlots
missing-type tupletype
python-error tupletype message traceback


Generic words
WordStack effect
>py( obj -- py-obj )


Symbol words
py-type-dispatch


Ordinary words
WordStack effect
array>py-tuple( array -- py-tuple )
assoc>py-dict( assoc -- py-dict )
init-py-type-dispatch( -- table )
missing-type( type -- * )
py-bytes>byte-array( py-bytes -- byte-array )
py-class-name( py-object -- name )
py-dict>hashtable( py-dict -- hashtable )
py-finalize( -- )
py-import( modulename -- module )
py-import-from( modulename objname -- obj )
py-initialize( -- )
py-list>vector( py-list -- vector )
py-tuple>array( py-tuple -- arr )
py-unicode>string( py-unicode -- string )
py>( py-obj -- obj )
python-dll-loaded?( -- ? )
python-error( type message traceback -- * )
quot>py-callback( quot: ( args kw -- ret ) -- alien )
vector>py-list( vector -- py-list )
with-quot>py-cfunction( alien quot -- )


Class predicate words
WordStack effect
missing-type?( object -- ? )
python-error?( object -- ? )


Files


Metadata files


Children from resource:extra
VocabularySummary
python.errorsError handling and reference counting
python.ffi
python.modules
python.objects
python.syntaxSyntax for defining Python wrappers
python.throwing