116 Commits (c19bb3279cbb42c84a24255db48ee2d385bb8167)

Author SHA1 Message Date
Serhiy Storchaka d4ea03c785 Issue #24284: The startswith and endswith methods of the str class no longer 11 years ago
Benjamin Peterson c31f12d196 check that exception messages are not empty (#22379) 12 years ago
Ethan Furman 38d872ee5d Issue19995: passing a non-int to %o, %c, %x, or %X now raises an exception 12 years ago
Serhiy Storchaka 5cfc79deae Issue #20532: Tests which use _testcapi now are marked as CPython only. 12 years ago
Serhiy Storchaka a146bef02b Catch deprecation warnings emitted when non-integers are formatted with %c, %o 12 years ago
Zachary Ware 9fe6d86709 Issue 19572: More silently skipped tests explicitly skipped. 12 years ago
Ezio Melotti 745d54d2fa #17806: Added keyword-argument support for "tabsize" to str/bytes.expandtabs(). 12 years ago
Ezio Melotti 65f7a9e3c0 Remove duplicated tests. 13 years ago
Benjamin Peterson da2c7ebd23 allow any type with __getitem__ to be a mapping for the purposes of % (#15801) 13 years ago
Serhiy Storchaka 18a13933f9 Ensure that width and precision in string formatting test have type int, not long. 13 years ago
Serhiy Storchaka 74f49ab28b Issue #15989: Fix several occurrences of integer overflow 13 years ago
Serhiy Storchaka 441d30fac7 Issue #15989: Fix several occurrences of integer overflow 13 years ago
Serhiy Storchaka 7898043868 Issue #15989: Fix several occurrences of integer overflow 13 years ago
Ezio Melotti 0dceb560b6 #16910: test_bytes, test_unicode, and test_userstring now work with unittest test discovery. Patch by Zachary Ware. 13 years ago
Benjamin Peterson 28a6cfaefc use the stricter PyMapping_Check (closes #15801) 14 years ago
Benjamin Peterson 23d49d3e7e use the stricter PyMapping_Check (closes #15801) 14 years ago
Victor Stinner b3f5501250 Close #15534: Fix a typo in the fast search function of the string library (_s => s) 14 years ago
Mark Dickinson 99e2e5552a Issue #14700: Fix two broken and undefined-behaviour-inducing overflow checks in old-style string formatting. Thanks Serhiy Storchaka for report and original patch. 14 years ago
Ezio Melotti cda6b6d60d #14081: The sep and maxsplit parameter to str.split, bytes.split, and bytearray.split may now be passed as keyword arguments. 14 years ago
Benjamin Peterson b2bf01d824 use full unicode mappings for upper/lower/title case (#12736) 14 years ago
Antoine Pitrou ac65d96777 Issue #12170: The count(), find(), rfind(), index() and rindex() methods 14 years ago
Mark Dickinson 0d5f6adbb3 Issue #13012: Allow 'keepends' to be passed as a keyword argument in str.splitlines, bytes.splitlines and bytearray.splitlines. 15 years ago
Ezio Melotti ea7b6f6e2a #12266: move the tests in test_unicode. 15 years ago
Ezio Melotti 15d6b65ead #12266: Fix str.capitalize() to correctly uppercase/lowercase titlecased and cased non-letter characters. 15 years ago
Ezio Melotti ee8d998ecf #12266: Fix str.capitalize() to correctly uppercase/lowercase titlecased and cased non-letter characters. 15 years ago
Ezio Melotti af92842bf9 Use non-deprecated method name. 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 2623a37852 Merged revisions 86596 via svnmerge from 15 years ago
Ezio Melotti 19f2aeba67 Merged revisions 86596 via svnmerge from 15 years ago
Ezio Melotti b3aedd4862 #9424: Replace deprecated assert* methods in the Python test suite. 15 years ago
Florent Xicluna c0c0b14671 Strengthen test_unicode with explicit type checking for assertEqual tests. 16 years ago
Florent Xicluna 9b90cd1f7b Merged revisions 84470-84471,84566-84567,84759 via svnmerge from 16 years ago
Florent Xicluna a87b383ac1 Reenable test_ucs4 and remove some duplicated lines. 16 years ago
Ezio Melotti f613f352d0 Merged revisions 78758 via svnmerge from 16 years ago
Florent Xicluna 6de9e938a5 Issue #7849: Now the utility ``check_warnings`` verifies if the warnings are 16 years ago
Ezio Melotti fcdf9f215e Merged revisions 77731 via svnmerge from 16 years ago
Ezio Melotti b19f43dbf0 Merged revisions 77729 via svnmerge from 16 years ago
Ezio Melotti 4bfd7ad09c Merged revisions 77729 via svnmerge from 16 years ago
Ezio Melotti 469a05fe46 remove archaic functions from test_support 16 years ago
Antoine Pitrou 2e544fb198 Merged revisions 77249 via svnmerge from 16 years ago
Antoine Pitrou b538d546da Remove silly conditional. 16 years ago
Antoine Pitrou 74edda01a1 Merged revisions 77247 via svnmerge from 16 years ago
Antoine Pitrou 83f86e8e98 Add tests for issue #7458: str.rfind() would crash when called with an invalid 16 years ago
Antoine Pitrou da2ecaf334 Merged revisions 77241 via svnmerge from 16 years ago
Antoine Pitrou 5b7139aab4 Issue #7462: Implement the stringlib fast search algorithm for the `rfind`, 16 years ago
Mark Dickinson 5c2db37c20 Issue #7435: Remove duplicate int/long tests, and other 16 years ago
Mark Dickinson 18cfada1ea Remove restriction on precision when formatting floats. This is the 16 years ago
Mark Dickinson f489caf5da Issue #5859: Remove use of fixed-length buffers for float formatting 17 years ago
Amaury Forgeot d'Arc f2e9368021 Merged revisions 66631 via svnmerge from 18 years ago