X Tutup
Skip to content

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

Merged
ambv merged 1 commit intopython:3.9from
miss-islington:backport-8cf07d3-3.9
Aug 18, 2021
Merged

[3.9] bpo-44852: Support filtering over warnings without a set message (GH-27793)#27810
ambv merged 1 commit intopython:3.9from
miss-islington:backport-8cf07d3-3.9

Conversation

@miss-islington
Copy link
Copy Markdown
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
Copy Markdown
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

X Tutup