-
- Downloads
py: Remove unnecessary extra handling of padding of nan/inf.
C's printf will pad nan/inf differently to CPython. Our implementation originally conformed to C, now it conforms to CPython's way. Tests for this are also added in this patch.
Showing
- py/mpprint.c 3 additions, 13 deletionspy/mpprint.c
- py/mpprint.h 1 addition, 2 deletionspy/mpprint.h
- py/objstr.c 0 additions, 1 deletionpy/objstr.c
- tests/float/string_format.py 4 additions, 0 deletionstests/float/string_format.py
- tests/float/string_format_modulo.py 4 additions, 0 deletionstests/float/string_format_modulo.py
Loading
Please register or sign in to comment