diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-10-15 10:11:37 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-10-15 10:11:37 +0300 |
commit | 410bf68fd41a6b8c98e48ca77e093f2f6c6bda75 (patch) | |
tree | ec820040f66bd1d053ed57a726b2901a3421a66a /INSTALL | |
parent | 50ad087c1030be242ab658c818ba2990dd33855e (diff) | |
download | rpm-410bf68fd41a6b8c98e48ca77e093f2f6c6bda75.tar.gz rpm-410bf68fd41a6b8c98e48ca77e093f2f6c6bda75.tar.bz2 rpm-410bf68fd41a6b8c98e48ca77e093f2f6c6bda75.zip |
Accept rpm.fd() types file objects everywhere in python bindings
- turn rpmfdFromPyObject() into a python-level object converter, add
a separate C-level getter for the fd pointer itself
- take advantage of python refcounting to handle differences between
native vs converted rpm.fd in callers so we can simply decref the
rpmfdFromPyObject() result without having to worry whether it was
converted or not (ie should we close it or not)
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions