5 Commits

Author SHA1 Message Date
Alex V. Myltsev
9969c3a92d python: warning fixes. 2008-02-22 22:33:11 +03:00
Alex V. Myltsev
8f2f44d63b python: deallocate object with PyObject_Del.
It was always illegal to deallocate objects with PyMem_DEL,
but it worked before Python 2.5. Now it just segfaults.

Also, I replace PyObject_NEW with PyObject_New
and "if(ptr) free(ptr)" with "free(ptr)".
2008-02-22 22:33:11 +03:00
Alex V. Myltsev
6e86f3b6c9 python: use METH_NOARGS where appropriate. 2008-02-22 22:33:11 +03:00
5416277102 Removed cvsid tags. 2006-05-14 17:05:34 +04:00
82a4763c66 Initial revision 2002-03-25 20:16:26 +00:00