summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix up struct docstrings, add struct.pack_to function for symmetryBob Ippolito2006-05-273-8/+42
|
* Remove the range checking and int usage #defines from _struct and strip out ↵Bob Ippolito2006-05-271-63/+8
| | | | the now-dead code
* Add Py_LOCAL macrosAndrew M. Kuchling2006-05-271-0/+12
|
* Revert bogus change committed in 46432 to this file.Martin v. Löwis2006-05-271-1/+0
|
* fixed typoAndrew Dalke2006-05-271-1/+1
|
* needforspeed: backed out the Py_LOCAL-isation of ceval; the massive in-Fredrik Lundh2006-05-272-68/+70
| | | | | lining killed performance on certain Intel boxes, and the "aggressive" macro itself gives most of the benefits on others.
* needforspeed: more stringlib refactoringFredrik Lundh2006-05-274-147/+161
|
* Explain why 'consumed' is initialized.Martin v. Löwis2006-05-271-8/+4
|
* Patch 1494554: Update numeric properties to Unicode 4.1.Martin v. Löwis2006-05-276-11/+336
|
* Fix Coverity warnings.Neal Norwitz2006-05-272-7/+2
| | | | | - Check the correct variable (str_obj, not str) for NULL - sep_len was already verified it wasn't 0
* Fix compiler warning (and whitespace) on Mac OS 10.4. (A lot of this code ↵Neal Norwitz2006-05-271-4/+4
| | | | looked duplicated, I wonder if a utility function could help reduce the duplication here.)
* Reinstate new-style object tests.Steve Holden2006-05-271-0/+66
|
* Patch 1145039.Tim Peters2006-05-262-41/+65
| | | | | | | | | | | | | | | | | | | set_exc_info(), reset_exc_info(): By exploiting the likely (who knows?) invariant that when an exception's `type` is NULL, its `value` and `traceback` are also NULL, save some cycles in heavily-executed code. This is a "a kronar saved is a kronar earned" patch: the speedup isn't reliably measurable, but it obviously does reduce the operation count in the normal (no exception raised) path through PyEval_EvalFrameEx(). The tim-exc_sanity branch tries to push this harder, but is still blowing up (at least in part due to pre-existing subtle bugs that appear to have no other visible consequences!). Not a bugfix candidate.
* Added description of why splitlines doesn't use the prealloc strategyAndrew Dalke2006-05-261-0/+8
|
* Blasted typos ...Steve Holden2006-05-261-1/+1
|
* Update help text and documentaition.Steve Holden2006-05-262-1/+12
|
* Add Richard Tew to developersSteve Holden2006-05-261-0/+1
|
* Whitespace normalization.Tim Peters2006-05-261-1/+1
|
* Record Iceland sprint attendees.Tim Peters2006-05-261-0/+16
|
* enable all of the struct tests, use ssize_t, fix some whitespaceBob Ippolito2006-05-262-59/+68
|
* Added limits to the replace code so it does not count all of the matchingAndrew Dalke2006-05-261-22/+19
| | | | patterns in a string, only the number needed by the max limit.
* Simplify calling.Georg Brandl2006-05-261-8/+2
|
* Patch #1492218: document None being a constant.Georg Brandl2006-05-261-7/+9
|
* Replace Py_BuildValue("OO") by PyTuple_Pack.Georg Brandl2006-05-263-5/+5
|
* Comment typoAndrew M. Kuchling2006-05-261-1/+1
|
* needforspeed: stringlib refactoring: use stringlib/find for string findFredrik Lundh2006-05-263-30/+25
|
* Write more docs.Thomas Heller2006-05-261-17/+175
|
* needforspeed: use a macro to fix slice indexesFredrik Lundh2006-05-261-52/+18
|
* needforspeed: stringlib refactoring: use stringlib/find for unicodeFredrik Lundh2006-05-261-14/+36
| | | | find
* needforspeed: stringlib refactoring, continued. added count andFredrik Lundh2006-05-265-53/+132
| | | | find helpers; updated unicodeobject to use stringlib_count
* added rpartition method to UserString classFredrik Lundh2006-05-261-1/+4
|
* Exception isn't the root of all exception classes anymore.Georg Brandl2006-05-261-2/+3
|
* Change C spacing to 4 spaces by default to match PEP 7 for new C files.Brett Cannon2006-05-261-1/+1
|
* substring split now uses /F's fast string matching algorithm.Andrew Dalke2006-05-261-40/+57
| | | | | | | | | | (If compiled without FAST search support, changed the pre-memcmp test to check the last character as well as the first. This gave a 25% speedup for my test case.) Rewrote the split algorithms so they stop when maxsplit gets to 0. Previously they did a string match first then checked if the maxsplit was reached. The new way prevents a needless string search.
* Add rpartition() and path cachingAndrew M. Kuchling2006-05-261-3/+18
|
* Revert tests to MAL's original round sizes to retiain comparabilitySteve Holden2006-05-2617-141/+52
| | | | | from long ago and far away. Stop calling this pybench 1.4 because it isn't. Remove the empty test, which was a bad idea.
* needspeed: rpartition documentation, tests, and a bug fixes.Fredrik Lundh2006-05-263-4/+28
| | | | feel free to add more tests and improve the documentation.
* needforspeed: added rpartition implementationFredrik Lundh2006-05-265-2/+166
|
* removed unnecessary includeFredrik Lundh2006-05-261-2/+0
|
* Need for speed: Patch #921466 : sys.path_importer_cache is now used to cache ↵Georg Brandl2006-05-263-4/+38
| | | | | | | | | | valid and invalid file paths for the built-in import machinery which leads to fewer open calls on startup. Also fix issue with PEP 302 style import hooks which lead to more open() calls than necessary.
* Reordered, and wrote more docs.Thomas Heller2006-05-261-74/+127
|
* Use minimum calibration time rather than avergae to avoidSteve Holden2006-05-261-12/+17
| | | | | | the illusion of negative run times. Halt with an error if run times go below 10 ms, indicating that results will be unreliable.
* needforspeed: remove remaining USE_FAST macros; if fastsearch wasFredrik Lundh2006-05-261-67/+2
| | | | broken, someone would have noticed by now ;-)
* needforspeed: cleanupFredrik Lundh2006-05-261-4/+8
|
* needforspeed: stringlib refactoring (in progress)Fredrik Lundh2006-05-263-77/+71
|
* Write some docs.Thomas Heller2006-05-261-0/+40
|
* needforspeed: stringlib refactoring (in progress)Fredrik Lundh2006-05-264-179/+111
|
* Add missing svn:eol-style property to text files.Tim Peters2006-05-261-22/+22
|
* Whitespace normalization.Tim Peters2006-05-262-2/+1
|
* Repair Windows compiler warnings about mixingTim Peters2006-05-261-2/+2
| | | | signed and unsigned integral types in comparisons.