¡@

Home 

python Programming Glossary: tp_getattr

How to create a generator/iterator with the Python C API?

http://stackoverflow.com/questions/1815812/how-to-create-a-generator-iterator-with-the-python-c-api

tp_basicsize 0 tp_itemsize 0 tp_dealloc 0 tp_print 0 tp_getattr 0 tp_setattr 0 tp_compare 0 tp_repr 0 tp_as_number 0 tp_as_sequence.. 0 tp_as_mapping 0 tp_hash 0 tp_call 0 tp_str 0 tp_getattro 0 tp_setattro 0 tp_as_buffer Py_TPFLAGS_DEFAULT Py_TPFLAGS_BASETYPE.. 0 tp_itemsize Generator_dealloc tp_dealloc 0 tp_print 0 tp_getattr 0 tp_setattr 0 tp_compare 0 tp_repr 0 tp_as_number 0 tp_as_sequence..

How do you extend python with C++?

http://stackoverflow.com/questions/2847617/how-do-you-extend-python-with-c

Flp_dealloc tp_dealloc 0 tp_print getattrfunc Flp_getattr tp_getattr setattrfunc Flp_setattr tp_setattr 0 tp_compare 0 tp_repr 0.. Flp_dealloc tp_dealloc 0 tp_print getattrfunc Flp_getattr tp_getattr setattrfunc Flp_setattr tp_setattr 0 tp_compare 0 tp_repr 0..

Accessing the underlying struct of a PyObject

http://stackoverflow.com/questions/3436730/accessing-the-underlying-struct-of-a-pyobject

tp_basicsize 0 tp_itemsize 0 tp_dealloc 0 tp_print 0 tp_getattr 0 tp_setattr 0 tp_compare 0 tp_repr 0 tp_as_number 0 tp_as_sequence.. 0 tp_as_mapping 0 tp_hash 0 tp_call 0 tp_str 0 tp_getattro 0 tp_setattro 0 tp_as_buffer Py_TPFLAGS_DEFAULT tp_flags..