From 62d7f4b80d56ef1e27039441cd6584cfb71d6502 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 13 Apr 2009 19:13:25 +0200 Subject: * 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. --- debian/changelog | 2 ++ 1 file changed, 2 insertions(+) (limited to 'debian') 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 Mon, 13 Apr 2009 18:08:10 +0200 -- cgit v1.2.3