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

belm0:format_negative_zero

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

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

github-actions Bot commented Jan 18, 2022
github-actions Bot commented Jan 18, 2022

github-actions Bot commented Jan 18, 2022

This PR is stale because it has been open for 30 days with no activity.

bpo-45995: add "z" format specifer to coerce negative 0 to zero

implementation for Decimal

📜🤖 Added by blurb_it.

consistent flag names

add test case for integer value with z option

reference pending PEP

clarify Decimal strategy

View reviewed changes

fix Decimal format parsing

fix Decimal when no precision is specified

fix comment typo Co-authored-by: Mark Dickinson <[email protected]>

View reviewed changes

awaiting change review

add attribution to news blurb

Mark PEP 682 as final.

PEP 682: Change status to Final python/peps#2513

PEP 682: Mark as final (

string formatting: normalize negative zero #90153

"z" format specifier is treated differently in unicode and bytes #104018

Possible memory leak in _cdecimal.c with 'z' format #114563