8000 gh-114563: C decimal falls back to pydecimal for unsupported format strings by belm0 · Pull Request #114879 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-114563: C decimal falls back to pydecimal for unsupported format strings #114879

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

Merged
merged 12 commits into from
Feb 12, 2024
Prev Previous commit
Next Next commit
disable failing null fill test
  • Loading branch information
belm0 committed Feb 10, 2024
commit d2b68934089686c378a8296031e77afeb3d7393a
4 changes: 3 additions & 1 deletion Lib/test/test_decimal.py
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,9 @@ def test_formatting(self):
('z>z6.1f', '-0.', 'zzz0.0'),
('x>z6.1f', '-0.', 'xxx0.0'),
('🖤>z6.1f', '-0.', '🖤🖤🖤0.0'), # multi-byte fill char
('\0>z6.1f', '-0.', '\0\0\00.0'), # null fill char
# TODO: fix this null fill char case (and confirm mpdecimal impl.)
# output is ".0", expected is "0.0"
#('\0>z6.1f', '-0.', '\0\0\00.0'), # null fill char

# issue 114563 ('z' format on F type in cdecimal)
('z3,.10F', '-6.24E-323', '0.0000000000'),
Expand Down
0