23 Commits

Author SHA1 Message Date
Alex V. Myltsev
9e49acf8d1 python: remove some dead code. 2008-02-22 22:33:11 +03:00
Alex V. Myltsev
9969c3a92d python: warning fixes. 2008-02-22 22:33:11 +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
5416277102 Removed cvsid tags. 2006-05-14 17:05:34 +04:00
e9ca3621fa Link rpmmodule.so with -lpython%__python_version. 2006-01-14 22:48:02 +00:00
c4aece686b Applied fixes for x86_64. 2005-11-30 16:57:18 +00:00
7f68fe2b17 reverted 2 last changes 2005-06-16 16:46:39 +00:00
c0a7f44ddb fixed previous change 2005-06-16 16:36:48 +00:00
9835799623 Added x86_64 support. 2005-06-16 16:18:15 +00:00
1cff6d97bc makefiles cleanup1 2003-11-24 20:44:29 +00:00
58e1dad6cc fixed compilation warnings 2003-11-24 18:59:03 +00:00
6cc64fa4ea updated code to snapshot 2002-06-15 of 4_0 branch 2002-08-03 16:35:14 +00: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
209ceb7769 updated code to snapshot 2002-04-26 2002-06-05 10:58:55 +00:00
db9590945c updated code to snapshot 2002-04-04 2002-04-05 08:04:32 +00:00
dee952c2f8 sync with rpm4 branch: include local headers 2002-03-25 22:02:39 +00:00
dd7712438e sync with rpm4 branch: removed obsolete entries 2002-03-25 21:00:02 +00:00
c15b8e601d re-added .lclintrc and .cvsignore files from CVS 2002-03-25 20:27:37 +00:00
82a4763c66 Initial revision 2002-03-25 20:16:26 +00:00