On Sun, 2006-10-29 at 10:28 -0600, Nathan Straz wrote: > I started looking at this item on the YumIdeas page. A yum upgrade from > FC5 to FC6 pushed me over the edge. :) > > I think the critical piece to get this working is to fill out the RPM > Python interface. Currently you cannot create new hdr objects from > python. The only factory interfaces I found depend on reading a binary > blog, which is exactly what we want to avoid. > > I started trying to get "h = rpm.hdr()" working and ran into a big > problem. I created a tp_new function for hdr which allowed me to create > new hdr objects in Python. Then I allocated the Header structure in > hdrObject and all hell broke loose. On my system calling headerNew() > totally clobbers the hdrObject. > Hi Nathan, So far it looks like the patch you've seen needs to go to rpm-devel or rpm-python-devel instead. Additionally, it'd be best if you discussed yum development issues on the yum-devel list, cool? -sv