179 Commits (58cf607d13c178f41aed05458296b68e985c5fff)

Author SHA1 Message Date
Antoine Pitrou dda339e6d2 Simplify heuristic for when to use memchr 14 years ago
Antoine Pitrou dd4e2f0153 Issue #13155: Optimize finding the optimal character width of an unicode string 14 years ago
Victor Stinner d218bf14cc stringlib: Fix STRINGLIB_STR for UCS2/UCS4 14 years ago
Victor Stinner 8cc70dcf70 Fix fastsearch for UCS2 and UCS4 14 years ago
Antoine Pitrou 2c3b2302ad Issue #13134: optimize finding single-character strings using memchr 14 years ago
Martin v. Löwis c47adb04b3 Change PyUnicode_KIND to 1,2,4. Drop _KIND_SIZE and _CHARACTER_SIZE. 14 years ago
Antoine Pitrou 4574e62c6e Fix massive slowdown in string formatting with str.format. 14 years ago
Antoine Pitrou dbf697ae5c Fix compilation warnings under 64-bit Windows 14 years ago
Victor Stinner c3cec7868b Add asciilib: similar to ucs1, ucs2 and ucs4 library, but specialized to ASCII 14 years ago
Victor Stinner e57b1c0da1 Mark PyUnicode_FromUCS[124] as private 14 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 14 years ago
Mark Dickinson c7d93b7614 Issue #1621: Fix undefined behaviour from signed overflow in datetime module hashes, array and list iterations, and get_integer (stringlib/string_format.h) 14 years ago
Mark Dickinson 36f27c995a Issue #1621: Fix undefined behaviour from signed overflow in get_integer (stringlib/formatter.h) 14 years ago
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
Jesus Cea 44e81687a2 startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828) 15 years ago
Ezio Melotti 24b07bcba3 #11515: fix several typos. Patch by Piotr Kasprzyk. 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 172e15fdd6 Merged revisions 83833,83838-83839,83859,83878 via svnmerge from 16 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 aad57bd1bb Merged revisions 83400 via svnmerge from 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 7dbe3e31c1 remove extra byte and fix comment 16 years ago
Benjamin Peterson 59a1b2f732 Merged revisions 81820 via svnmerge from 16 years ago
Benjamin Peterson c971913f84 Merged revisions 81820 via svnmerge from 16 years ago
Benjamin Peterson 13e934acc0 correctly overflow when indexes are too large 16 years ago
Benjamin Peterson d240071cd8 Merged revisions 81813 via svnmerge from 16 years ago
Benjamin Peterson c4afe2950a locale grouping strings should end in '\0' 16 years ago
Georg Brandl 2eeea685a8 Merged revisions 68750,68811,68945,69157 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
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 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 87bcb243ac Issue #6902: Fix problem with built-in types format incorrectly with 0 padding. 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
Eric Smith f32d4acead Issue #7988: Fix default alignment to be right aligned for complex.__format__. Now it matches other numeric types. 16 years ago
Benjamin Peterson 23b9ef7205 Merged revisions 77937 via svnmerge from 16 years ago