Bug#383617: Please support parsing tagfiles from gzip.open()
Package: python-apt
Version: 0.5.10
Severity: wishlist
(but also verified in 0.6.19)
One cannot feed a gzip.open()'d file into apt_pkg.ParseTagFile(). This
would be a convenient feature. ParseTagFile says:
TypeError: argument 1 must be file, not instance
I'm unfortunately too unaware of the details of filedescriptors in
python to know how to best resolve this.
--Jeroen
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages python-apt depends on:
ii apt [libapt-pkg-libc6 0.5.28.6 Advanced front-end for dpkg
ii apt-utils [libapt-ins 0.5.28.6 APT utility programs
ii libc6 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an
ii python 2.3.5-2 An interactive high-level object-o
-- no debconf information
--
Jeroen van Wolffelaar
Jeroen@wolffelaar.nl (also for Jabber & MSN; ICQ: 33944357)
http://Jeroen.A-Eskwadraat.nl
Reply to: