← 返回首页
string formatting: normalize negative zero · Issue #90153 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

string formatting: normalize negative zero #90153

New issue
New issue

Description

mannequin
BPO 45995
Nosy @mdickinson, @belm0, @ericvsmith, @stevendaprano, @serhiy-storchaka, @belm0
PRs
  • bpo-45995: add "z" format specifer to coerce negative 0 to zero #30049
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/mdickinson' closed_at = None created_at = <Date 2021-12-06.12:03:46.943> labels = ['type-feature', 'library', '3.11'] title = 'string formatting: normalize negative zero' updated_at = <Date 2022-03-13.12:04:51.159> user = 'https://github.com/belm0'

    bugs.python.org fields:

    activity = <Date 2022-03-13.12:04:51.159> actor = 'mark.dickinson' assignee = 'mark.dickinson' closed = False closed_date = None closer = None components = ['Library (Lib)'] creation = <Date 2021-12-06.12:03:46.943> creator = 'John Belmonte' dependencies = [] files = [] hgrepos = [] issue_num = 45995 keywords = ['patch'] message_count = 23.0 messages = ['407792', '407793', '407796', '407810', '407822', '407857', '407905', '407928', '407929', '407930', '407934', '407973', '407990', '408367', '408413', '408529', '408800', '410838', '411243', '411295', '411302', '412360', '415034'] nosy_count = 6.0 nosy_names = ['mark.dickinson', 'jbelmonte', 'eric.smith', 'steven.daprano', 'serhiy.storchaka', 'John Belmonte'] pr_nums = ['30049'] priority = 'normal' resolution = None stage = 'patch review' status = 'open' superseder = None type = 'enhancement' url = 'https://bugs.python.org/issue45995' versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    Labels

    3.11only security fixesstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    • Open in GitHub Copilot app

    Footer

    © 2026 GitHub, Inc.