python vocabulary - Factor Documentation (original) (raw)

python vocabulary
Factor handbook » Vocabulary index

Documentation
Python binding

Metadata

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

Words

Tuple classes

Class Superclass Slots
missing-type tuple type
python-error tuple type message traceback

Generic words

Word Stack effect
>py ( obj -- py-obj )

Symbol words

py-type-dispatch

Ordinary words

Word Stack 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

Word Stack effect
missing-type? ( object -- ? )
python-error? ( object -- ? )

Files

resource:extra/python/python.factor
resource:extra/python/python-docs.factor
resource:extra/python/python-tests.factor

Metadata files

resource:extra/python/authors.txt
resource:extra/python/summary.txt
resource:extra/python/tags.txt

Children from resource:extra

Vocabulary Summary
python.errors Error handling and reference counting
python.ffi
python.modules
python.objects
python.syntax Syntax for defining Python wrappers
python.throwing