Bug#971960: python3-debian: Needlessly recompiles 3 regex with each call to Deb822._internal_parser
Stuart Prescott
stuart at debian.org
Sun Oct 11 04:41:19 BST 2020
Control: tags -1 + patch
There are a couple of other uses of re.compile inside functions that are also
easy to fix:
https://salsa.debian.org/python-debian-team/python-debian/-/merge_requests/27
(re.compile's internal caching probably makes this a non-issue anyway, but
just in case, we can make the change as it's easy enough to do)
--
Stuart Prescott http://www.nanonanonano.net/ stuart at nanonanonano.net
Debian Developer http://www.debian.org/ stuart at debian.org
GPG fingerprint 90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7
More information about the pkg-python-debian-maint
mailing list