Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 25 commits into from Apr 11, 2022

Commits on Mar 19, 2022

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

    This covers str.format() and f-strings.  Old-style string
    interpolation is not supported.
    
    TODO: Decimal support
    belm0 committed Mar 19, 2022
  2. formatting

    belm0 committed Mar 19, 2022
  3. implementation for Decimal

    belm0 committed Mar 19, 2022
  4. 📜🤖 Added by blurb_it.

    blurb-it[bot] authored and belm0 committed Mar 19, 2022
  5. consistent flag names

    belm0 committed Mar 19, 2022
  6. reference pending PEP

    belm0 committed Mar 19, 2022
  7. Apply some formatting and doc suggestions

    Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
    belm0 and mdickinson committed Mar 19, 2022
  8. revise "z" option description

    belm0 committed Mar 19, 2022
  9. news file terminating newline

    belm0 committed Mar 19, 2022
  10. add test coverage for Decimal bugs

      * 'z' character fill
      * non-fixed exponent
      * directed rounding
    belm0 committed Mar 19, 2022

Commits on Apr 7, 2022

  1. fix Decimal format parsing

    belm0 committed Apr 7, 2022
  2. fix comment typo

    Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
    belm0 and mdickinson committed Apr 7, 2022

Commits on Apr 11, 2022

  1. add attribution to news blurb

    belm0 committed Apr 11, 2022