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

bpo-41138: Fix trace CLI for non-UTF-8 files. #21177

Merged
merged 2 commits into from
Jun 28, 2020

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jun 27, 2020

Fix also a resource warning when store counts and module info.

https://bugs.python.org/issue41138

Fix also a resource warning when store counts and module info.
@@ -0,0 +1,2 @@
Fixed the :mod:`tarce` module CLI for Python source files with non-UTF-8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/tarce/trace

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thank you @srinivasreddy!

@serhiy-storchaka serhiy-storchaka merged commit 04cdeb7 into python:master Jun 28, 2020
@miss-islington
Copy link
Contributor

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9.
🐍🍒⛏🤖

@serhiy-storchaka serhiy-storchaka deleted the trace-open-encoding branch June 28, 2020 10:34
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 28, 2020
Fix also a resource warning when store counts and module info.
(cherry picked from commit 04cdeb7)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Jun 28, 2020
@bedevere-bot
Copy link

GH-21196 is a backport of this pull request to the 3.9 branch.

@miss-islington
Copy link
Contributor

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.8 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 04cdeb7a5617c48102f45b965e683b12cdf934f8 3.8

miss-islington added a commit that referenced this pull request Jun 28, 2020
Fix also a resource warning when store counts and module info.
(cherry picked from commit 04cdeb7)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Jun 28, 2020
Fix also a resource warning when store counts and module info..
(cherry picked from commit 04cdeb7)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

GH-21200 is a backport of this pull request to the 3.8 branch.

serhiy-storchaka added a commit that referenced this pull request Jun 28, 2020
)

Fix also a resource warning when store counts and module info.
(cherry picked from commit 04cdeb7)
fasih pushed a commit to fasih/cpython that referenced this pull request Jun 29, 2020
Fix also a resource warning when store counts and module info.
arun-mani-j pushed a commit to arun-mani-j/cpython that referenced this pull request Jul 21, 2020
Fix also a resource warning when store counts and module info.
@serhiy-storchaka serhiy-storchaka removed their assignment Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants