COMMITS
/ Lib/test/test_format.py January 24, 2026
S
gh-142037: Improve error messages for printf-style formatting (GH-142081)
Serhiy Storchaka committed
June 27, 2025
S
gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908)
Sergey B Kirpichev committed
March 24, 2025
A
gh-130928: Fix error message during bytes formatting for the `'i'` flag (#130967)
Ageev Maxim committed
February 25, 2025
S
gh-87790: support thousands separators for formatting fractional part of floats (#125304)
Sergey B Kirpichev committed
July 19, 2024
S
gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907)
Serhiy Storchaka committed
May 31, 2024
S
gh-119780: Adjust exception messages in Lib/test/test_format.py (GH-119781)
Sergey B Kirpichev committed
April 3, 2024
E
gh-116303: Skip test module dependent tests if test modules are unavailable (#117341)
Erlend E. Aasland committed
May 1, 2023
J
gh-104018: disallow "z" format specifier in %-format of byte strings (GH-104033)
John Belmonte committed
April 11, 2022
J
bpo-45995: add "z" format specifer to coerce negative 0 to zero (GH-30049)
John Belmonte committed
September 24, 2021
N
bpo-20524: adds better error message for `.format()` (GH-28310)
Nikita Sobolev committed
September 21, 2021
M
[codemod] Fix non-matching bracket pairs (GH-28473)
Mohamad Mansour committed
November 30, 2020
Z
bpo-42506: Fix unexpected output in test_format (GH-23564)
Zackery Spytz committed
November 2, 2020
L
bpo-42224: Fix test_format when locale does not expect number grouping (GH-23067)
Lysandros Nikolaou committed
September 2, 2020
H
Fixed mistake in test for f-string error description (GH-22036) (GH-22059)
han-solo committed
September 1, 2020
May 29, 2020
M
bpo-40780: Fix failure of _Py_dg_dtoa to remove trailing zeros (GH-20435)
Mark Dickinson committed
August 30, 2019
M
Fix typos mostly in comments, docs and test names (GH-15209)
Min ho Kim committed
March 14, 2017
X
March 8, 2017
December 28, 2016
S
Issue #29073: Added a test for bytearray formatting with null byte.
Serhiy Storchaka committed
S
Issue #29073: bytearray formatting no longer truncates on first null byte.
Serhiy Storchaka committed
December 17, 2016
S
Issue #29000: Fixed bytes formatting of octals with zero padding in alternate
Serhiy Storchaka committed
S
Issue #29000: Fixed bytes formatting of octals with zero padding in alternate
Serhiy Storchaka committed
December 11, 2016
M
Issues #28916, #26483: Merge stdtypes.rst from 3.5
Martin Panter committed
M
Issue #28916: Correct description of %o and %x alternative forms
Martin Panter committed
June 6, 2016
S
Issue #26983: Fixed test_format failure.
Serhiy Storchaka committed
October 9, 2015
V
Issue #25349: Add fast path for b'%c' % int
Victor Stinner committed
April 4, 2015
S
Issue #23466: Fixed expected error message in test_format.
Serhiy Storchaka committed
April 3, 2015
S
Issue #23466: Raised OverflowError if %c argument is out of range.
Serhiy Storchaka committed
March 30, 2015
S
Issue #23466: %c, %o, %x, and %X in bytes formatting now raise TypeError on
Serhiy Storchaka committed
March 11, 2015
E
Close issue23467: add %r compatibility to bytes and bytearray
Ethan Furman committed
January 24, 2015
E
Issue20284: Implement PEP461
Ethan Furman committed
March 19, 2014
E
Issue19995: passing a non-int to %o, %c, %x, or %X now raises an exception
Ethan Furman committed
February 7, 2014
S
Issue #20532: Tests which use _testcapi now are marked as CPython only.
Serhiy Storchaka committed
S
Issue #20532: Tests which use _testcapi now are marked as CPython only.
Serhiy Storchaka committed
February 6, 2014
S
Catch deprecation warnings emitted when non-integers are formatted with %c, %o
Serhiy Storchaka committed
January 12, 2014
E
Issue19995: issue deprecation warning for non-integer values to %c, %o, %x, %X
Ethan Furman committed
January 5, 2014
E
Issue19995: %o, %x, %X now only accept ints
Ethan Furman committed
October 13, 2013
M
Remove failing checks for explicit error messages.
Mark Dickinson committed
M
Issue #18659: fix test_format test that wasn't being executed. Thanks Vajrasky Kok for the patch.
Mark Dickinson committed
August 5, 2013
M
Issue #18659: Backed out changeset cfd875bcbe41 after buildbot failures.
Mark Dickinson committed
M
Issue #18659: fix test_format test that wasn't being executed. Thanks Vajrasky Kok for the patch.
Mark Dickinson committed
June 23, 2013
V
(Merge 3.3) Issue #18137: Detect integer overflow on precision in
Victor Stinner committed
V
Issue #18137: Detect integer overflow on precision in float.__format__() and
Victor Stinner committed
April 2, 2013
V
Add _PyUnicodeWriter_WriteSubstring() function
Victor Stinner committed
February 23, 2013
E
#17217: merge with 3.3.
Ezio Melotti committed
E
#17217: merge with 3.2.
Ezio Melotti committed
E
#17217: fix UnicodeEncodeErrors errors in test_format by printing ASCII only.
Ezio Melotti committed
October 1, 2012
V
Issue #15609: Optimize str%args for integer argument
Victor Stinner committed
June 16, 2012
V
Fix "%f" format of str%args if the result is not an ASCII or latin1 string
Victor Stinner committed