Skip to content

Remove python2 remnants#103

Merged
da4089 merged 5 commits intomasterfrom
98-remove-python2-remnants
Jan 31, 2025
Merged

Remove python2 remnants#103
da4089 merged 5 commits intomasterfrom
98-remove-python2-remnants

Conversation

@da4089
Copy link

@da4089 da4089 commented Jan 30, 2025

No description provided.

The exceptions are calls to logging.* functions, where parameters
should be passed in *args, so that substitution isn't performed unless
the message needs to be emitted; and, a series of uses in constructing
parsing regexps, where the named lookup is arguably clearer.
These looked a bit messy to start with, but the reality was not so
bad.  I think the resulting code is substantially more clear too.
Caught by unit tests.
@da4089 da4089 linked an issue Jan 30, 2025 that may be closed by this pull request
@da4089 da4089 marked this pull request as draft January 30, 2025 12:58
@da4089 da4089 marked this pull request as ready for review January 31, 2025 13:08
@da4089 da4089 merged commit 2094c71 into master Jan 31, 2025
8 checks passed
@da4089 da4089 deleted the 98-remove-python2-remnants branch January 31, 2025 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove remaining Python2 remnants

2 participants