Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.9] bpo-44852: Support filtering over warnings without a set message (GH-27793) #27810

Merged
merged 1 commit into from
Aug 18, 2021

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 18, 2021

Additional improvements:

  • messages which were compiled regular expressions aren't unpacked back into
    strings for unmatched warnings;

  • removed unnecessary "if tokens:" check (there's one before the for loop);

  • took endswith calculation out of the for loop.
    (cherry picked from commit 8cf07d3)

Co-authored-by: Łukasz Langa lukasz@langa.pl

https://bugs.python.org/issue44852

…honGH-27793)

Additional improvements:

- messages which were compiled regular expressions aren't unpacked back into
  strings for unmatched warnings;

- removed unnecessary "if tokens:" check (there's one before the for loop);

- took `endswith` calculation out of the for loop.
(cherry picked from commit 8cf07d3)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
@miss-islington
Copy link
Contributor Author

@ambv: Status check is done, and it's a success ✅ .

@ambv ambv merged commit ebe7e6d into python:3.9 Aug 18, 2021
@miss-islington miss-islington deleted the backport-8cf07d3-3.9 branch August 18, 2021 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants