Skip to content

Formatting with width and separator doesn't work correctly #5922

@yt2b

Description

@yt2b

Feature

>>>>> f"{1234:10,}"
'00,001,234'

But in Python 3.13.5, f"{1234:10,}" results in ' 1,234'.
I'll investigate the cause.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-compatA discrepancy between RustPython and CPython

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions