◐ Shell
clean mode source ↗

gh-67790: Support basic formatting for Fraction by mdickinson · Pull Request #111320 · python/cpython

added 3 commits

October 25, 2023 11:48

@mdickinson

@mdickinson mdickinson changed the title gh-67790: Support basic formatting in Fraction.__format__ gh-67790: Support basic formatting for Fraction

Oct 25, 2023

@mdickinson

serhiy-storchaka

serhiy-storchaka

ericvsmith

@serhiy-storchaka

serhiy-storchaka

@mdickinson

ericvsmith

@serhiy-storchaka

@mdickinson mdickinson deleted the fraction-format-d-presentation-type branch

December 16, 2023 10:58

scoder added a commit to scoder/quicktions that referenced this pull request

Jan 10, 2024

bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request

Jan 21, 2024

bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request

Feb 7, 2024

bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request

Feb 7, 2024

aisk pushed a commit to aisk/cpython that referenced this pull request

Feb 11, 2024
PR python#100161 added fancy float-style formatting for the Fraction type,
but left us in a state where basic formatting for fractions (alignment,
fill, minimum width, thousands separators) still wasn't supported.

This PR adds that support.

---------

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

Glyphack pushed a commit to Glyphack/cpython that referenced this pull request

Sep 2, 2024
PR python#100161 added fancy float-style formatting for the Fraction type,
but left us in a state where basic formatting for fractions (alignment,
fill, minimum width, thousands separators) still wasn't supported.

This PR adds that support.

---------

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>