🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Mathis Faivre Sun, 01 Nov 2026 14:50
Bug#1141352: python3-debian: merge_fields can raise ValueError with folded Binary fields
#2891
Author: Mathis Faivre
Date: Sun, 01 Nov 2026 14:50
16 lines
2695 bytes
Hi,

I would like to take this one. I plan to split it in two:

1. A small fix in Deb822._merge_fields so a folded Binary merges with a single-line one, using Colin's test case. No API change.
2. Separately, the larger rework Colin describes: an explicit simple/folded/multiline type for merge_fields, and folding Binary when dumping, as dpkg-genchanges does.

Do you want (2) in python-debian, and if so, what API do you prefer: a field-type argument to merge_fields, or a per-class table of field types? I would start with (1) now and only do (2) if you agree on the shape.

Thanks,
Mathis
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads