python-debian, wrap-and-sort, paragraphs separators and comments

Stefano Zacchiroli zack at debian.org
Sat Aug 2 14:34:16 UTC 2014


On Thu, Jul 31, 2014 at 12:50:58AM +1000, Stuart Prescott wrote:
> My proposal is then:
> 
> * ensure the internal parser supports whitespace and comments as required
> 
> * switch the default parser in iter_paragraphs to the internal parser 
> (changing the kwarg to be use_apt_pkg=False) and clearly document the 
> situations where an application might safely choose to use TagFile 
> (use_apt_pkg=True).

As a plan, this looks good to me: as a default, I'd favor correctness
over speed anytime. If one is ready to sacrifice correctness for speed,
asking to do so explicitly sounds reasonable.  Of course, this change
will warrant a NEWS.Debian entry.

Cheers.
-- 
Stefano Zacchiroli  . . . . . . .  zack at upsilon.cc . . . . o . . . o . o
Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o
Former Debian Project Leader  . . @zack on identi.ca . . o o o . . . o .
« the first rule of tautology club is the first rule of tautology club »
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-python-debian-maint/attachments/20140802/e78e53d3/attachment.sig>


More information about the pkg-python-debian-maint mailing list