summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-04-13 19:13:25 +0200
committerJulian Andres Klode <jak@debian.org>2009-04-13 19:13:25 +0200
commit62d7f4b80d56ef1e27039441cd6584cfb71d6502 (patch)
treeaa2d006fccd4a4f8497eb25dc0bd6c8baf6e6e89 /debian
parenteaefd2f4cb97ed069375f18fb67d8570dc5eaed8 (diff)
downloadpython-apt-62d7f4b80d56ef1e27039441cd6584cfb71d6502.tar.gz
* python/*.cc: Use PyObject_AsFileDescriptor instead of fileno(PyFile_AsFile)
Replace support for file objects with a more generic support for any object providing a fileno() method and for file descriptors (integers). This also helps us to port to Python 3, where the previously used PyFile_ functions are not available anymore.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index f623254e..dc8d1545 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ python-apt (0.7.11) UNRELEASED; urgency=low
* python/tag.cc:
- Support 'key in mapping' for TagSections
+ * Replace support for file objects with a more generic support for any object
+ providing a fileno() method and for file descriptors (integers).
-- Julian Andres Klode <jak@debian.org> Mon, 13 Apr 2009 18:08:10 +0200