Commit Graph

11 Commits

Author SHA1 Message Date
Alexander Myltsev
d6701e921f python: backport forceArray changes from rpm5. 2011-01-16 10:18:05 +03:00
Alexander Myltsev
909e4fd5f2 Force array return type for RPMTAG_REQUIREFLAGS. 2011-01-16 10:18:02 +03:00
26545f3846 Drop deprecated RPMTAG_RHNPLATFORM support 2009-04-12 22:39:46 +00:00
Alexey Tourbin
21528645b2 header-py.c: pre-merge change for mdfile 2009-03-09 20:57:35 +03:00
Alex V. Myltsev
63f03dce06 python: replace sprintf + PyString_FromString with PyString_FromFormat
and fix a couple of warnings.

This is a heap of stinking old code.
1000 more commits and it will be a heap of stinking new code.
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
f431605c03 4.0.4-alt66 2006-05-14 18:21:28 +04:00
32619a8170 removed obsolete tag 2002-07-06 15:33:36 +00:00
1afe894c52 updated code to snapshot 2002-05-23 of 4_0 branch 2002-06-05 11:06:46 +00:00
82a4763c66 Initial revision 2002-03-25 20:16:26 +00:00