gh-114563: C decimal falls back to pydecimal for unsupported format strings by belm0 · Pull Request #114879 · python/cpython

belm0 · GitHub

GitHub CopilotWrite better code with AI | MCP RegistryIntegrate external tools | ActionsAutomate any workflow | CodespacesInstant dev environments | IssuesPlan and track work | Code ReviewManage code changes | Code QualityEnforce quality at merge | Why GitHub | Marketplace | View all features | Enterprises | Small and medium teams | Startups | View all use cases | View all industries | View all solutions | AI | Software Development | DevOps | Security | View all topics | Customer stories | Events & webinars | Ebooks & reports | Business insights | Trust center | Partners | View all resources

added 3 commits

February 1, 2024 12:26

@belm0
@belm0
@belm0

…rmat strings immediate merits: * eliminate complex workarounds for 'z' format support (NOTE: mpdecimal recently added 'z' support, so this becomes efficient in the long term.) * fix 'z' format memory leak * fix 'z' format applied to 'F' * fix missing '#' format support Suggested and prototyped by Stefan Krah. Fixes

pythongh-114563

,

pythongh-91060

@belm0

Closed

@erlend-aasland
@rhettinger
mdickinson
mdickinson
serhiy-storchaka
@belm0
@serhiy-storchaka

Co-authored-by: Serhiy Storchaka <[email protected]>

serhiy-storchaka
@belm0
@belm0
@belm0
serhiy-storchaka
belm0
@belm0
@belm0
serhiy-storchaka
@belm0
serhiy-storchaka
serhiy-storchaka
@blurb-it

belm0

deleted the fix-issue-114563 branch

February 12, 2024 15:06

belm0

mentioned this pull request

Feb 12, 2024

Closed

Closed

serhiy-storchaka

pushed a commit that referenced this pull request

Feb 12, 2024

…ormat strings (

GH-114879

) (

GH-115353

) Immediate merits: * eliminate complex workarounds for 'z' format support (NOTE: mpdecimal recently added 'z' support, so this becomes efficient in the long term.) * fix 'z' format memory leak * fix 'z' format applied to 'F' * fix missing '#' format support Suggested and prototyped by Stefan Krah. Fixes

gh-114563

,

gh-91060

(cherry picked from commit

72340d1

) Co-authored-by: John Belmonte <[email protected]> Co-authored-by: Stefan Krah <[email protected]>

belm0

added a commit to belm0/cpython that referenced this pull request

Feb 13, 2024

…unsupported format strings (

pythonGH-114879

) (

pythonGH-115353

) Immediate merits: * eliminate complex workarounds for 'z' format support (NOTE: mpdecimal recently added 'z' support, so this becomes efficient in the long term.) * fix 'z' format memory leak * fix 'z' format applied to 'F' * fix missing 'GH-' format support Suggested and prototyped by Stefan Krah. Fixes

pythongh-114563

,

pythongh-91060

(cherry picked from commit

72340d1

) (cherry picked from commit

09c98e4

) Co-authored-by: John Belmonte <[email protected]> Co-authored-by: Stefan Krah <[email protected]>

serhiy-storchaka

pushed a commit that referenced this pull request

Feb 13, 2024

…ormat strings (

GH-114879

) (

GH-115384

) Immediate merits: * eliminate complex workarounds for 'z' format support (NOTE: mpdecimal recently added 'z' support, so this becomes efficient in the long term.) * fix 'z' format memory leak * fix 'z' format applied to 'F' * fix missing 'GH-' format support Suggested and prototyped by Stefan Krah. Fixes

gh-114563

,

gh-91060

(cherry picked from commit

72340d1

) (cherry picked from commit

09c98e4

) Co-authored-by: Stefan Krah <[email protected]>

fsc-eriker

pushed a commit to fsc-eriker/cpython that referenced this pull request

Feb 14, 2024

…rmat strings (

pythonGH-114879

) Immediate merits: * eliminate complex workarounds for 'z' format support (NOTE: mpdecimal recently added 'z' support, so this becomes efficient in the long term.) * fix 'z' format memory leak * fix 'z' format applied to 'F' * fix missing '#' format support Suggested and prototyped by Stefan Krah. Fixes

pythongh-114563

,

pythongh-91060

Co-authored-by: Stefan Krah <[email protected]>