| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
in intobject.h
|
| |
|
|
| |
checking for unicode objects.
|
| |
|
|
|
| |
Fixed bug in alignment of negative numbers.
Whitespace normalization.
|
| |
|
|
|
|
| |
test_float crashes on Windows, because the %zd format is used in a call
to PyOS_snprintf().
The attached patch properly uses PY_FORMAT_SIZE_T.
|
| | |
|
| |
|
|
|
|
|
| |
previous version of PEP 3101. It's currently not compiled in, but I want to
leave it because it might be useful in the future and it makes
calc_number_widths() clearer. It justifies NumberFieldWidths.rsign
and .n__rsign.
|
| | |
|
|
|
Known issues:
The string.Formatter class, as discussed in the PEP, is incomplete.
Error handling needs to conform to the PEP.
Need to fix this warning that I introduced in Python/formatter_unicode.c:
Objects/stringlib/unicodedefs.h:26: warning: `STRINGLIB_CMP' defined but not used
Need to make sure sign formatting is correct, more tests needed.
Need to remove '()' sign formatting, left over from an earlier version of the PEP.
|