bpo-45995: add "z" format specifer to coerce negative 0 to zero by belm0 · Pull Request #30049 · python/cpython · GitHub

github.com

Tin mới

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

python/cpython:main

belm0:format_negative_zero

a633e88 bpo-45995: add "z" format specifer to coerce negative 0 to zero belm0 Dec 7, 2021

636da05 formatting belm0 Dec 11, 2021

3f4085d implementation for Decimal belm0 Dec 13, 2021

68a049e 📜🤖 Added by blurb_it. blurb-it[bot] Dec 14, 2021

ad32be5 consistent flag names belm0 Dec 14, 2021

3dcaf5f add test case for integer value with z option belm0 Feb 3, 2022

6b9ab3b reference pending PEP belm0 Feb 4, 2022

e243568 Apply some formatting and doc suggestions belm0 Mar 16, 2022

be4fda2 revise "z" option description belm0 Mar 19, 2022

043d76a add test cases for explicit sign option belm0 Mar 19, 2022

104e023 revise tests for format options expected to fail on floats belm0 Mar 19, 2022

61c64df "float presentation" -> "floating-point presentation" belm0 Mar 19, 2022

76d61ae news file terminating newline belm0 Mar 19, 2022

33fe72c add test coverage for Decimal bugs belm0 Mar 19, 2022

9393136 Decimal: handle 'z' fill character correctly belm0 Mar 21, 2022

f88f7fc Decimal: const qualifier on fmt variable belm0 Mar 21, 2022

20c9cf1 fix rounding of 'e', 'g', and '%' presentation types for Decimal belm0 Mar 23, 2022

bf1a891 fix Decimal directed rounding belm0 Mar 23, 2022

3f5b392 consistency among tests belm0 Mar 23, 2022

8d7a745 fix stack-use-after-scope sanitizer error belm0 Mar 23, 2022

2a24e61 clarify Decimal strategy belm0 Mar 23, 2022

0cbff6a fix Decimal format parsing belm0 Apr 6, 2022

8e7b51c fix Decimal when no precision is specified belm0 Apr 7, 2022

418ab76 fix comment typo belm0 Apr 7, 2022

3ee6f6b add attribution to news blurb belm0 Apr 11, 2022