summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* patch #1493701: performance enhancements for struct moduleBob Ippolito2006-05-234-1295/+4
|
* revert #1493701Bob Ippolito2006-05-235-416/+276
|
* Remove duplicate itemAndrew M. Kuchling2006-05-231-3/+0
|
* Patch #1493701: performance enhancements for struct module.Bob Ippolito2006-05-235-276/+416
|
* Bug #1334662 / patch #1335972: int(string, base) wrong answers.Tim Peters2006-05-234-88/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In rare cases of strings specifying true values near sys.maxint, and oddball bases (not decimal or a power of 2), int(string, base) could deliver insane answers. This repairs all such problems, and also speeds string->int significantly. On my box, here are % speedups for decimal strings of various lengths: length speedup ------ ------- 1 12.4% 2 15.7% 3 20.6% 4 28.1% 5 33.2% 6 37.5% 7 41.9% 8 46.3% 9 51.2% 10 19.5% 11 19.9% 12 23.9% 13 23.7% 14 23.3% 15 24.9% 16 25.3% 17 28.3% 18 27.9% 19 35.7% Note that the difference between 9 and 10 is the difference between short and long Python ints on a 32-bit box. The patch doesn't actually do anything to speed conversion to long: the speedup is due to detecting "unsigned long" overflow more quickly. This is a bugfix candidate, but it's a non-trivial patch and it would be painful to separate the "bug fix" from the "speed up" parts.
* needforspeed: use append+reverse for rsplit, use "bloom filters" toFredrik Lundh2006-05-231-43/+101
| | | | | | | speed up splitlines and strip with charsets; etc. rsplit is now as fast as split in all our tests (reverse takes no time at all), and splitlines() is nearly as fast as a plain split("\n") in our tests. and we're not done yet... ;-)
* Update Misc/NEWS for gzip patch #1281707Bob Ippolito2006-05-231-2/+2
|
* Update Misc/NEWS for gzip patch #1281707Bob Ippolito2006-05-231-0/+2
|
* fix broken mergeRichard Jones2006-05-231-7/+2
|
* Applied patch 1337051 by Neal Norwitz, saving 4 ints on frame objects.Richard Jones2006-05-234-55/+54
|
* An improved script for building the binary distribution on MacOSX.Ronald Oussoren2006-05-239-0/+1246
|
* Use 'speed' instead of 'performance', because I agree with the argumentAndrew M. Kuchling2006-05-231-2/+2
| | | | | at http://zestyping.livejournal.com/193260.html that 'erformance' really means something more general.
* Mention string improvementsAndrew M. Kuchling2006-05-231-1/+4
|
* Add some items; mention the sprintAndrew M. Kuchling2006-05-231-0/+18
|
* Patch #1488098.Ronald Oussoren2006-05-233-2/+125
| | | | | | This patchs makes it possible to create a universal build on OSX 10.4 and use the result to build extensions on 10.3. It also makes it possible to override the '-arch' and '-isysroot' compiler arguments for specific extensions.
* Disable linking extensions with -lpython2.5 for darwin. This should fix bugRonald Oussoren2006-05-231-0/+5
| | | | #1487105.
* PyErr_NewException now accepts a tuple of base classes as itsGeorg Brandl2006-05-233-4/+15
| | | | "base" parameter.
* Avoid creating a mess when installing a framework for the second time.Ronald Oussoren2006-05-231-2/+7
|
* Merge from rjones-funccall branch.Richard Jones2006-05-234-62/+104
| | | | | | Applied patch zombie-frames-2.diff from sf patch 876206 with updates for Python 2.5 and also modified to retain the free_list to avoid the 67% slow-down in pybench recursion test. 5% speed up in function call pybench.
* needforspeed: fixed unicode "in" operator to use same implementationFredrik Lundh2006-05-231-27/+29
| | | | approach as find/index
* needforspeed: check first *and* last character before doing a full memcmpFredrik Lundh2006-05-231-4/+6
|
* unicode_repeat(): Change type of local to Py_ssize_t,Tim Peters2006-05-231-1/+1
| | | | since that's what it should be.
* PyUnicode_Join(): Recent code changes introduced newTim Peters2006-05-221-9/+8
| | | | | | | | compiler warnings on Windows (signed vs unsigned mismatch in comparisons). Cleaned that up by switching more locals to Py_ssize_t. Simplified overflow checking (it can _be_ simpler because while these things are declared as Py_ssize_t, then should in fact never be negative).
* needforspeed: use memcpy for "long" strings; use a better algorithmFredrik Lundh2006-05-222-8/+20
| | | | for long repeats.
* needforspeed: speed up unicode repeat, unicode string copyFredrik Lundh2006-05-222-8/+14
|
* Apply revised patch for GzipFile.readline performance #1281707Bob Ippolito2006-05-221-16/+21
|
* docstring tweaks: count counts non-overlapping substrings, notFredrik Lundh2006-05-222-5/+5
| | | | total number of occurences
* Revert gzip readline performance patch #1281707 until a more generic ↵Bob Ippolito2006-05-221-28/+20
| | | | performance improvement can be found
* GzipFile.readline performance improvement (~30-40%), patch #1281707Bob Ippolito2006-05-221-20/+28
|
* Define SIZEOF_{DOUBLE,FLOAT} on Windows. ElseTim Peters2006-05-221-1/+3
| | | | | Michael Hudson's nice gimmicks for IEEE special values (infinities, NaNs) don't work.
* Patch #1492356: Port to Windows CE (patch set 1).Martin v. Löwis2006-05-2210-116/+176
|
* Patch 1490384: New Icons for the PC build.Martin v. Löwis2006-05-224-0/+0
|
* Apply patch #1492255 from Mike Foord.George Yoshida2006-05-211-3/+3
|
* Fix the TeX compile error.George Yoshida2006-05-211-1/+1
|
* Minor editsAndrew M. Kuchling2006-05-201-3/+3
|
* Apply patch #1492147 from Mike Foord.George Yoshida2006-05-201-1/+1
|
* - Add 'as' and 'with' as new keywords in 2.5.George Yoshida2006-05-201-9/+13
| | | | - Regenerate keyword lists with reswords.py.
* - markup fixGeorge Yoshida2006-05-202-4/+5
| | | | - add clarifying words
* Fix bug #1000914 (again).Ronald Oussoren2006-05-201-9/+9
| | | | | | | | | This patches a file that is generated by bgen, however the code is now the same as a current copy of bgen would generate. Without this patch most types in the Carbon.CF module are unusable. I haven't managed to coax bgen into generating a complete copy of _CFmodule.c yet :-(, hence the manual patching.
* Whitespace normalization.Tim Peters2006-05-191-1/+1
|
* * Change working directory to the users homeRonald Oussoren2006-05-191-3/+11
| | | | | | | directory, that makes the file open/save dialogs more useable. * Don't use argv emulator, its not needed for idle.
* Oops, I forgot to include this file in the last commit (46046):Neal Norwitz2006-05-191-2/+2
| | | | | | Bug/Patch #1481770: Use .so extension for shared libraries on HP-UX for ia64. I suppose this could be backported if anyone cares.
* Bug/Patch #1481770: Use .so extension for shared libraries on HP-UX for ia64.Neal Norwitz2006-05-195-5/+41
| | | | I suppose this could be backported if anyone cares.
* Fix #1474677, non-keyword argument following keyword.Neal Norwitz2006-05-192-0/+8
|
* Fix #132 from Coverity, retval could have been derefedNeal Norwitz2006-05-191-0/+4
| | | | if a continue inside a try failed.
* Typo fix; add clarifying wordAndrew M. Kuchling2006-05-191-2/+2
|
* Fix some minor issues with the generated application bundles on MacOSXRonald Oussoren2006-05-187-9/+70
|
* Changed status from "beta" to "production"; since logging has been part of ↵Vinay Sajip2006-05-181-1/+1
| | | | the stdlib since 2.3, it should be safe to make this assertion ;-)
* Bug #1490688: properly document %e, %f, %g format subtleties.Georg Brandl2006-05-181-11/+30
|
* Bug #1462152: file() now checks more thoroughly for invalid modeGeorg Brandl2006-05-184-37/+60
| | | | | strings and removes a possible "U" before passing the mode to the C library function.