111 Commits (61baee0ee7c5183c80809e9b44da2542c682c235)

Author SHA1 Message Date
Eric V. Smith 12ebefc9d3 Closes #12579. Positional fields with str.format_map() now raise a ValueError instead of SystemError. 15 years ago
Jesus Cea ac4515063c startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828) 15 years ago
Ezio Melotti 42da663e6f #11515: fix several typos. Patch by Piotr Kasprzyk. 15 years ago
Eric Smith a1eac7218b Issue #11302: missing type check on _string.formatter_field_name_split and _string.formatter_parser caused crash. 15 years ago
Eric Smith 984bb58000 Issue #7094: Add alternate ('#') flag to __format__ methods for float, complex and Decimal. Allows greater control over when decimal points appear. Added to make transitioning from %-formatting easier. '#g' still has a problem with Decimal which I'll fix soon. 15 years ago
Antoine Pitrou a277ec4ad9 Followup to r86170: fix reference leak in str.format 15 years ago
Eric Smith 27bbca6f79 Issue #6081: Add str.format_map. str.format_map(mapping) is similar to str.format(**mapping), except mapping does not get converted to a dict. 15 years ago
Georg Brandl 66c221e993 #9418: first step of moving private string methods to _string module. 15 years ago
Florent Xicluna eb6f3ead00 Fix #8530: Prevent stringlib fastsearch from reading beyond the front of an array. 16 years ago
Mark Dickinson 388122d43b Issue #9337: Make float.__str__ identical to float.__repr__. 16 years ago
Mark Dickinson fc070313dd Merged revisions 83400 via svnmerge from 16 years ago
Mark Dickinson 5b65df7ce2 Issue #9416: Fix some issues with complex formatting where the 16 years ago
Benjamin Peterson 3b107f99c7 remove unneeded error check 16 years ago
Benjamin Peterson 99bcf5ce08 Merged revisions 81823,81835 via svnmerge from 16 years ago
Benjamin Peterson 504b6e8115 Merged revisions 81824 via svnmerge from 16 years ago
Benjamin Peterson 59a1b2f732 Merged revisions 81820 via svnmerge from 16 years ago
Benjamin Peterson d240071cd8 Merged revisions 81813 via svnmerge from 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Eric Smith 53f2f2eb05 Merged revisions 78350 via svnmerge from 16 years ago
Eric Smith abb28c62de Merged revisions 78349 via svnmerge from 16 years ago
Eric Smith 903fc05962 Merged revisions 78333 via svnmerge from 16 years ago
Eric Smith 4e260c5636 Merged revisions 78329 via svnmerge from 16 years ago
Benjamin Peterson 23b9ef7205 Merged revisions 77937 via svnmerge from 16 years ago
Benjamin Peterson 5e55b3e204 Merged revisions 77484,77487,77561,77570,77593,77603,77608,77667,77702-77703,77739,77858,77887,77889 via svnmerge from 16 years ago
Antoine Pitrou f068f94e82 Merged revisions 77469-77470 via svnmerge from 16 years ago
Antoine Pitrou aa92589c4d svnmerge duplicated contents of Objects/stringlib/split.h 16 years ago
Antoine Pitrou f2c5484f9e Merged revisions 77461 via svnmerge from 16 years ago
Antoine Pitrou da2ecaf334 Merged revisions 77241 via svnmerge from 16 years ago
Eric Smith 0f78bff646 Issue #5748: bytesobject.c should not have its own private defines for stringlib macros. Also removed unused defines and include for localutil.h. 16 years ago
Eric Smith c50e05ea9a Keep this file in sync with trunk. 16 years ago
Eric Smith beddd709b2 Merged revisions 74269 via svnmerge from 17 years ago
Eric Smith 7bc66b1009 Merged revisions 74222 via svnmerge from 17 years ago
Eric Smith 88af7432fc Sync trunk and py3k versions of string formatting. Manual merge of r74219. 17 years ago
Eric Smith 41669caebc Merged revisions 72848 via svnmerge from 17 years ago
Eric Smith 741191f17a Issue #3382. float 'F' formatting no longer maps to 'f'. This only affects nan and inf. 17 years ago
Eric Smith 63376228a3 Issue #5920: Changed format.__float__ and complex.__float__ to use a precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson. 17 years ago
Eric Smith 7255f18556 Merged revisions 72189 via svnmerge from 17 years ago
Mark Dickinson 33841c3489 Issue #5859: Remove '%f' to '%g' formatting switch for large floats. 17 years ago
Georg Brandl fb526ac34a Merged revisions 72159 via svnmerge from 17 years ago
Eric Smith 58a42244cf Issue #1588: Add complex.__format__. 17 years ago
Eric Smith 6dc46f5eaa Merged revisions 72040 via svnmerge from 17 years ago
Eric Smith 937491d1a9 Merged revisions 71802 via svnmerge from 17 years ago
Eric Smith 0923d1d8d7 The other half of Issue #1580: use short float repr where possible. 17 years ago
Eric Smith f64bce8ea7 Merged revisions 71548 via svnmerge from 17 years ago
Eric Smith b4a49f69b0 Resolves issue 5690: accidentally skipping code in non-debug build. 17 years ago
Eric Smith a3b1ac8dca Added ',' thousands grouping to int.__format__. See PEP 378. 17 years ago
Eric Smith f8c8b6d3ea Removed mixed tabs and whitespace. 17 years ago
Mark Dickinson c8a608c666 Merged revisions 70678 via svnmerge from 17 years ago
Eric Smith 8ec90443f5 Merged revisions 70364 via svnmerge from 17 years ago