Re: PyCheck for a classes defined in python and user data in PyObject_HEAD

2007-11-16 Thread sndive
On Nov 15, 10:00 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Fri, 16 Nov 2007 00:27:42 -0300, <[EMAIL PROTECTED]> escribió: > > > > > On Nov 1, 11:04 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> > > wrote: > >> En Thu, 01 Nov 2007 22:13:35 -0300, <[EMAIL PROTECTED]> escribió: > >> >> I'm

Re: PyCheck for a classes defined in python and user data in PyObject_HEAD

2007-11-15 Thread Gabriel Genellina
En Fri, 16 Nov 2007 00:27:42 -0300, <[EMAIL PROTECTED]> escribió: > On Nov 1, 11:04 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> > wrote: >> En Thu, 01 Nov 2007 22:13:35 -0300, <[EMAIL PROTECTED]> escribió: >> >> I'm in a situation when i don't really need to extend python with any >> >> classes o

Re: PyCheck for a classes defined in python and user data in PyObject_HEAD

2007-11-15 Thread sndive
On Nov 1, 11:04 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Thu, 01 Nov 2007 22:13:35 -0300, <[EMAIL PROTECTED]> escribió: > > > On Nov 1, 4:14 pm, [EMAIL PROTECTED] wrote: > >> q#1: > >> in C I want to check if a given PyObject is a xml.dom.minidom.Node (or > >> a derivative). > >> how

Re: PyCheck for a classes defined in python and user data in PyObject_HEAD

2007-11-02 Thread Hrvoje Niksic
Note that there is a mailing list dedicated to the Python/C API, http://mail.python.org/mailman/listinfo/capi-sig [EMAIL PROTECTED] writes: > issue #2 I'm in a situation when i don't really need to extend > python with any classes of my own but i do have extra luggage for > the python data structu

Re: PyCheck for a classes defined in python and user data in PyObject_HEAD

2007-11-01 Thread Gabriel Genellina
En Thu, 01 Nov 2007 22:13:35 -0300, <[EMAIL PROTECTED]> escribió: > On Nov 1, 4:14 pm, [EMAIL PROTECTED] wrote: >> q#1: >> in C I want to check if a given PyObject is a xml.dom.minidom.Node (or >> a derivative). >> how do i extract a PyTypeObject for such a class? > > nevermind, i found an instanc

Re: PyCheck for a classes defined in python and user data in PyObject_HEAD

2007-11-01 Thread sndive
On Nov 1, 4:14 pm, [EMAIL PROTECTED] wrote: > q#1: > in C I want to check if a given PyObject is a xml.dom.minidom.Node (or > a derivative). > how do i extract a PyTypeObject for such a class? nevermind, i found an instance object that will work for me as long as i figure out where is the document

PyCheck for a classes defined in python and user data in PyObject_HEAD

2007-11-01 Thread sndive
q#1: in C I want to check if a given PyObject is a xml.dom.minidom.Node (or a derivative). how do i extract a PyTypeObject for such a class? issue #2 I'm in a situation when i don't really need to extend python with any classes of my own but i do have extra luggage for the python data structures s