gh-149214: Fix non ascii characters in remote debugging#149228
Merged
pablogsal merged 1 commit intopython:mainfrom May 2, 2026
Merged
gh-149214: Fix non ascii characters in remote debugging#149228pablogsal merged 1 commit intopython:mainfrom
pablogsal merged 1 commit intopython:mainfrom
Conversation
aa6465e to
d8e373b
Compare
maurycy
reviewed
May 1, 2026
Contributor
There was a problem hiding this comment.
It's great now! Thank you.
2026-05-01T16:29:39.511171000+0200 maurycy@gimel /Users/maurycy/src/github.com/pablogsal/cpython (fix-non-ascii-characters-in-remote-debugging d8e373b) % ./python.exe /tmp/zażółć3.py
'/tmp/zażółć3.py' | 'zażółć'
'/tmp/zażółć3.py' | '<module>'
2026-05-01T16:30:09.323774000+0200 maurycy@gimel /Users/maurycy/src/github.com/pablogsal/cpython (fix-non-ascii-characters-in-remote-debugging d8e373b) % sudo ./python.exe -m profiling.sampling run --collapsed -o /tmp/profile.folded /tmp/zażółćgęśląjaźń.py
Captured 7,527 samples in 7.53 seconds
Sample rate: 999.98 samples/sec
Error rate: 0.07
Collapsed stack output written to /tmp/profile.folded
2026-05-01T16:30:28.551291000+0200 maurycy@gimel /Users/maurycy/src/github.com/pablogsal/cpython (fix-non-ascii-characters-in-remote-debugging d8e373b) % cat /tmp/profile.folded
tid:12700342;<frozen runpy>:_run_module_as_main:196;<frozen runpy>:_run_code:87;zażółćgęśląjaźń.py:<module>:11;zażółćgęśląjaźń.py:główna:9;zażółćgęśląjaźń.py:zażółć_gęślą_jaźń:4 6555
tid:12700342;<frozen runpy>:_run_module_as_main:196;<frozen runpy>:_run_code:87;zażółćgęśląjaźń.py:<module>:11;zażółćgęśląjaźń.py:główna:9;zażółćgęśląjaźń.py:zażółć_gęślą_jaźń:3 967
2026-05-01T16:30:42.382568000+0200 maurycy@gimel /Users/maurycy/src/github.com/pablogsal/cpython (fix-non-ascii-characters-in-remote-debugging d8e373b) %
d8e373b to
4626d3f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
_remote_debugging: non-ASCII both filenames and function names garbled #149214