| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Well this doesn't look quite right 😆: 17:24:54 b'ok 2119 parallel/test-readline-async-iterators'
17:24:54 ---
17:24:54 duration_ms: 10.526
17:24:54 ...
17:24:55 b'ok 2120 parallel/test-repl-history-perm'
17:24:55 ---
17:24:55 duration_ms: 0.118
17:24:55 ...Note the "b" prefix and single quotes. This results in: |
Sorry, something went wrong.
There was a problem hiding this comment.
If you want the second representation (b'L\xc3\xbcsai') instead of the first (Lüsai) then I approve.
>>> import logging
>>> logger = logging.getLogger()
>>> logger.warning("Lüsai")
Lüsai
>>> logger.warning("Lüsai".encode("utf-8"))
b'L\xc3\xbcsai'
Sorry, something went wrong.
There was a problem hiding this comment.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
|
Fast-track has been requested by @MoLow. Please 👍 to approve. |
Sorry, something went wrong.
PR-URL: #47175 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Christian Clauss <cclauss@me.com>
PR-URL: #47175 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Christian Clauss <cclauss@me.com>
PR-URL: #47175 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Christian Clauss <cclauss@me.com>
| Back | FazBrowse Home | New Git URL |
Fixes #47173
the issue can be easily reproduced locally by adding sys.stdout.reconfigure(encoding='ascii') to the beginning of tools/test.py