string formatting: normalize negative zero

belm0 · GitHub

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 detailsGitHub fields:

assignee='https://github.com/mdickinson'closed_at=Nonecreated_at=<Date2021-12-06.12:03:46.943>labels= ['type-feature', 'library', '3.11'] title='string formatting: normalize negative zero'updated_at=<Date2022-03-13.12:04:51.159>user='https://github.com/belm0'bugs.python.org fields:

activity=<Date2022-03-13.12:04:51.159>actor='mark.dickinson'assignee='mark.dickinson'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Library (Lib)'] creation=<Date2021-12-06.12:03:46.943>creator='John Belmonte'dependencies= [] files= [] hgrepos= [] issue_num=45995keywords= ['patch'] message_count=23.0messages= ['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.0nosy_names= ['mark.dickinson', 'jbelmonte', 'eric.smith', 'steven.daprano', 'serhiy.storchaka', 'John Belmonte'] pr_nums= ['30049'] priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='enhancement'url='https://bugs.python.org/issue45995'versions= ['Python 3.11']