-
-
Notifications
You must be signed in to change notification settings - Fork 31.3k
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-45557: Fix underscore_numbers in pprint.pprint(). #29129
Conversation
There's no test for this, because in general the pprint module doesn't test |
I created https://bugs.python.org/issue45559 for testing |
Thanks @ericvsmith for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10. |
(cherry picked from commit 087f089) Co-authored-by: Eric V. Smith <[email protected]>
GH-29133 is a backport of this pull request to the 3.10 branch. |
(cherry picked from commit 087f089) Co-authored-by: Eric V. Smith <[email protected]>
pprint.pprint() always passes
underscore_numbers=False
to pformat(), it should useunderscore_numbers=underscore_numbers
.https://bugs.python.org/issue45557