summaryrefslogtreecommitdiff
path: root/python/header-py.c
AgeCommit message (Expand)AuthorFilesLines
2012-02-21Raise exception in python on headerGet() invalid data failurePanu Matilainen1-2/+6
2011-12-22mark strings extracted from PyArg_Parse* as "const"David Malcolm1-2/+2
2011-12-21typo in header-py.c.Ales Kozumplik1-1/+1
2011-12-21handle errors when constructing lists in the Python bindingsDavid Malcolm1-2/+13
2011-12-21fix memory leaks in invocations of PyObject_CallDavid Malcolm1-6/+5
2011-11-30Update internal callers to use headerExport(), no functional changesPanu Matilainen1-3/+2
2011-11-18python: use the more modern PyCapsule over PyCObject (RhBug:623864).Ales Kozumplik1-2/+2
2011-09-01Avoid SystemError on inserting an empty list insert to header from pythonPanu Matilainen1-0/+2
2011-07-06Fix the broken python header __getattr__() behavior, take 13 (or so)Panu Matilainen1-1/+9
2011-07-06Add __reduce__() method to python header objectPanu Matilainen1-15/+32
2011-03-09Eliminate unnecessary _free() usages in pythonPanu Matilainen1-2/+2
2011-03-09Python bindings dont need our debug.h for anythingPanu Matilainen1-2/+0
2010-11-17Avoid enum as function argument for headerConvert()Panu Matilainen1-1/+1
2010-10-22Switch python bindings to use rpm(Dbi)TagVal as appropriatePanu Matilainen1-14/+14
2010-09-22Use HEADER_MAGIC_FOO enums instead of 0/1 in python header codePanu Matilainen1-2/+2
2010-09-21Avoid stepping on toes of relatives, part 2Panu Matilainen1-5/+5
2010-09-21Use the new tag type/return type getters everywherePanu Matilainen1-6/+5
2009-12-09Fix a few list-related memleaks in python bindingsPanu Matilainen1-1/+3
2009-12-07Make python header iterator return keys, not valuesPanu Matilainen1-3/+1
2009-11-27Correctly pass optional tag argument from hdr.dsFromHeader() (ticket #108)Panu Matilainen1-2/+9
2009-11-27Dont try to pass anything to rpm.fi() from hdr.fiFromHeader()Panu Matilainen1-2/+5
2009-11-24Nuke leftover debug junkPanu Matilainen1-1/+0
2009-11-24Support constructing header data from pythonPanu Matilainen1-4/+121
2009-11-23Fix hdrContains() return value on errorPanu Matilainen1-1/+1
2009-11-21Remove hdr.has_key() method, support 'key in h' style insteadPanu Matilainen1-5/+16
2009-11-21Remove unnecessary hdr.instance() methodPanu Matilainen1-7/+0
2009-11-19Permit header object generation from PyCObjectsPanu Matilainen1-0/+2
2009-10-28Eliminate the ambigious tp_compare from rpm.hdrPanu Matilainen1-7/+2
2009-10-23Allow unicode objects as tag name everywherePanu Matilainen1-2/+4
2009-10-23Add conversion function for handling python unicode -> string issuesPanu Matilainen1-0/+15
2009-10-21Replace PyString usage with PyBytes everywherePanu Matilainen1-5/+5
2009-10-19Remove leftovers from python header filesPanu Matilainen1-1/+1
2009-10-19Generalize type object initialization to work with both Python 2.* and Python...David Malcolm1-2/+1
2009-10-19Generalize access to ob_type so that they work with both Python 2.* and Pytho...David Malcolm1-1/+1
2009-10-15Accept rpm.fd() types file objects everywhere in python bindingsPanu Matilainen1-8/+9
2009-10-12Raise exception in the converter, not callerPanu Matilainen1-1/+0
2009-10-12Add limited support for modifying headers to pythonPanu Matilainen1-1/+19
2009-10-09Revert explicit PyErr_NoMemory() returns to just returning NULLPanu Matilainen1-1/+1
2009-10-05Handle all rpmds variants in its constructorPanu Matilainen1-1/+14
2009-10-01Add python method for retrieving header "instance" (db recno) numberPanu Matilainen1-0/+7
2009-10-01Deprecation tweaksPanu Matilainen1-11/+5
2009-10-01Fix couple of recently introduced compiler warningsPanu Matilainen1-1/+1
2009-09-30Take advantage of headerNextTag() in python hdr.keys()Panu Matilainen1-29/+6
2009-09-30Add iterator support to python header objectsPanu Matilainen1-3/+21
2009-09-30Turn hdrGetHeader() into argument parsing converter interfacePanu Matilainen1-3/+9
2009-09-30Sanitize getattr behavior of header objectsPanu Matilainen1-12/+20
2009-09-28Implement rpm.readHeaderFromFD() in python instead of CPanu Matilainen1-44/+0
2009-09-28Implement rpm.readHeaderListFromFD() in python instead of CPanu Matilainen1-52/+0
2009-09-28Implement rpmreadHeaderListFromFile() in python instead of CPanu Matilainen1-23/+0
2009-09-28Arrange rpm.headerLoad() compatibility on python levelPanu Matilainen1-6/+0