Bug#656288: python3-apt: difficulties with non-UTF-8-encoded TagFiles
On Wed, Jun 13, 2012 at 06:35:19PM +0100, Colin Watson wrote:
> On Sat, Jan 21, 2012 at 03:10:54AM +0000, Colin Watson wrote:
> > (That said, I haven't entirely got the python-debian test suite to pass
> > yet. It's parsing mixed-encoding files in terrifying ways which are
> > going to require some rearrangement to work well with Python 3. So,
> > strictly, I can't claim to be 100% confident in this change yet; but I'd
> > appreciate knowing whether the general approach is OK with you.)
>
> This is no longer a concern (see #625509), and I would really appreciate
> feedback from python-apt maintainers on this; there's a substantial
> stack of other Python 3 porting work that depends on getting a
> python3-debian into the archive, and that depends on this patch ...
>
> Here's an updated version which applies to HEAD. Please note that this
> also fixes what I consider a bug whereby apt_pkg.TagFile() accepts byte
> strings but not Unicode strings in Python 2.
Committed, with documentation in doc/source/library/apt_pkg.rst added.
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
Reply to: