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
1afe894c52 updated code to snapshot 2002-05-23 of 4_0 branch 2002-06-05 11:06:46 +00:00
209ceb7769 updated code to snapshot 2002-04-26 2002-06-05 10:58:55 +00:00
82a4763c66 Initial revision 2002-03-25 20:16:26 +00:00