Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | patch #1493701: performance enhancements for struct module | Bob Ippolito | 2006-05-23 | 4 | -1295/+4 |
| | |||||
* | revert #1493701 | Bob Ippolito | 2006-05-23 | 5 | -416/+276 |
| | |||||
* | Remove duplicate item | Andrew M. Kuchling | 2006-05-23 | 1 | -3/+0 |
| | |||||
* | Patch #1493701: performance enhancements for struct module. | Bob Ippolito | 2006-05-23 | 5 | -276/+416 |
| | |||||
* | Bug #1334662 / patch #1335972: int(string, base) wrong answers. | Tim Peters | 2006-05-23 | 4 | -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" to | Fredrik Lundh | 2006-05-23 | 1 | -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 #1281707 | Bob Ippolito | 2006-05-23 | 1 | -2/+2 |
| | |||||
* | Update Misc/NEWS for gzip patch #1281707 | Bob Ippolito | 2006-05-23 | 1 | -0/+2 |
| | |||||
* | fix broken merge | Richard Jones | 2006-05-23 | 1 | -7/+2 |
| | |||||
* | Applied patch 1337051 by Neal Norwitz, saving 4 ints on frame objects. | Richard Jones | 2006-05-23 | 4 | -55/+54 |
| | |||||
* | An improved script for building the binary distribution on MacOSX. | Ronald Oussoren | 2006-05-23 | 9 | -0/+1246 |
| | |||||
* | Use 'speed' instead of 'performance', because I agree with the argument | Andrew M. Kuchling | 2006-05-23 | 1 | -2/+2 |
| | | | | | at http://zestyping.livejournal.com/193260.html that 'erformance' really means something more general. | ||||
* | Mention string improvements | Andrew M. Kuchling | 2006-05-23 | 1 | -1/+4 |
| | |||||
* | Add some items; mention the sprint | Andrew M. Kuchling | 2006-05-23 | 1 | -0/+18 |
| | |||||
* | Patch #1488098. | Ronald Oussoren | 2006-05-23 | 3 | -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 bug | Ronald Oussoren | 2006-05-23 | 1 | -0/+5 |
| | | | | #1487105. | ||||
* | PyErr_NewException now accepts a tuple of base classes as its | Georg Brandl | 2006-05-23 | 3 | -4/+15 |
| | | | | "base" parameter. | ||||
* | Avoid creating a mess when installing a framework for the second time. | Ronald Oussoren | 2006-05-23 | 1 | -2/+7 |
| | |||||
* | Merge from rjones-funccall branch. | Richard Jones | 2006-05-23 | 4 | -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 implementation | Fredrik Lundh | 2006-05-23 | 1 | -27/+29 |
| | | | | approach as find/index | ||||
* | needforspeed: check first *and* last character before doing a full memcmp | Fredrik Lundh | 2006-05-23 | 1 | -4/+6 |
| | |||||
* | unicode_repeat(): Change type of local to Py_ssize_t, | Tim Peters | 2006-05-23 | 1 | -1/+1 |
| | | | | since that's what it should be. | ||||
* | PyUnicode_Join(): Recent code changes introduced new | Tim Peters | 2006-05-22 | 1 | -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 algorithm | Fredrik Lundh | 2006-05-22 | 2 | -8/+20 |
| | | | | for long repeats. | ||||
* | needforspeed: speed up unicode repeat, unicode string copy | Fredrik Lundh | 2006-05-22 | 2 | -8/+14 |
| | |||||
* | Apply revised patch for GzipFile.readline performance #1281707 | Bob Ippolito | 2006-05-22 | 1 | -16/+21 |
| | |||||
* | docstring tweaks: count counts non-overlapping substrings, not | Fredrik Lundh | 2006-05-22 | 2 | -5/+5 |
| | | | | total number of occurences | ||||
* | Revert gzip readline performance patch #1281707 until a more generic ↵ | Bob Ippolito | 2006-05-22 | 1 | -28/+20 |
| | | | | performance improvement can be found | ||||
* | GzipFile.readline performance improvement (~30-40%), patch #1281707 | Bob Ippolito | 2006-05-22 | 1 | -20/+28 |
| | |||||
* | Define SIZEOF_{DOUBLE,FLOAT} on Windows. Else | Tim Peters | 2006-05-22 | 1 | -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öwis | 2006-05-22 | 10 | -116/+176 |
| | |||||
* | Patch 1490384: New Icons for the PC build. | Martin v. Löwis | 2006-05-22 | 4 | -0/+0 |
| | |||||
* | Apply patch #1492255 from Mike Foord. | George Yoshida | 2006-05-21 | 1 | -3/+3 |
| | |||||
* | Fix the TeX compile error. | George Yoshida | 2006-05-21 | 1 | -1/+1 |
| | |||||
* | Minor edits | Andrew M. Kuchling | 2006-05-20 | 1 | -3/+3 |
| | |||||
* | Apply patch #1492147 from Mike Foord. | George Yoshida | 2006-05-20 | 1 | -1/+1 |
| | |||||
* | - Add 'as' and 'with' as new keywords in 2.5. | George Yoshida | 2006-05-20 | 1 | -9/+13 |
| | | | | - Regenerate keyword lists with reswords.py. | ||||
* | - markup fix | George Yoshida | 2006-05-20 | 2 | -4/+5 |
| | | | | - add clarifying words | ||||
* | Fix bug #1000914 (again). | Ronald Oussoren | 2006-05-20 | 1 | -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 Peters | 2006-05-19 | 1 | -1/+1 |
| | |||||
* | * Change working directory to the users home | Ronald Oussoren | 2006-05-19 | 1 | -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 Norwitz | 2006-05-19 | 1 | -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 Norwitz | 2006-05-19 | 5 | -5/+41 |
| | | | | I suppose this could be backported if anyone cares. | ||||
* | Fix #1474677, non-keyword argument following keyword. | Neal Norwitz | 2006-05-19 | 2 | -0/+8 |
| | |||||
* | Fix #132 from Coverity, retval could have been derefed | Neal Norwitz | 2006-05-19 | 1 | -0/+4 |
| | | | | if a continue inside a try failed. | ||||
* | Typo fix; add clarifying word | Andrew M. Kuchling | 2006-05-19 | 1 | -2/+2 |
| | |||||
* | Fix some minor issues with the generated application bundles on MacOSX | Ronald Oussoren | 2006-05-18 | 7 | -9/+70 |
| | |||||
* | Changed status from "beta" to "production"; since logging has been part of ↵ | Vinay Sajip | 2006-05-18 | 1 | -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 Brandl | 2006-05-18 | 1 | -11/+30 |
| | |||||
* | Bug #1462152: file() now checks more thoroughly for invalid mode | Georg Brandl | 2006-05-18 | 4 | -37/+60 |
| | | | | | strings and removes a possible "U" before passing the mode to the C library function. |