¡@

Home 

python Programming Glossary: tp_setattr

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

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.. 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 tp_flags.. 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 0..

How do you extend python with C++?

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

getattrfunc Flp_getattr tp_getattr setattrfunc Flp_setattr tp_setattr 0 tp_compare 0 tp_repr 0 tp_as_number 0 tp_as_sequence 0 tp_as_mapping.. getattrfunc Flp_getattr tp_getattr setattrfunc Flp_setattr tp_setattr 0 tp_compare 0 tp_repr 0 tp_as_number 0 tp_as_sequence 0 tp_as_mapping..

Accessing the underlying struct of a PyObject

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

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.. 0 tp_hash 0 tp_call 0 tp_str 0 tp_getattro 0 tp_setattro 0 tp_as_buffer Py_TPFLAGS_DEFAULT tp_flags point objects tp_doc..