Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ("Forward-port" of r46506) | Armin Rigo | 2006-05-28 | 8 | -16/+24 |
| | | | | | | | | | | | | | | Remove various dependencies on dictionary order in the standard library tests, and one (clearly an oversight, potentially critical) in the standard library itself - base64.py. Remaining open issues: * test_extcall is an output test, messy to make robust * tarfile.py has a potential bug here, but I'm not familiar enough with this code. Filed in as SF bug #1496501. * urllib2.HTTPPasswordMgr() returns a random result if there is more than one matching root path. I'm asking python-dev for clarification... | ||||
* | Initial version of systimes - a module to provide platform dependent | Marc-André Lemburg | 2006-05-28 | 1 | -0/+197 |
| | | | | | | | | | | performance measurements. The module is currently just a proof-of-concept implementation, but will integrated into pybench once it is stable enough. License: pybench license. Author: Marc-Andre Lemburg. | ||||
* | Quality control, meet exceptions.c, round two. | Michael W. Hudson | 2006-05-28 | 1 | -222/+165 |
| | | | | | | | | | | | | | | | | Make some functions that should have been static static. Fix a bunch of refleaks by fixing the definition of MiddlingExtendsException. Remove all the __new__ implementations apart from BaseException_new. Rewrite most code that needs it to cope with NULL fields (such code could get excercised anyway, the __new__-removal just makes it more likely). This involved editing the code for WindowsError, which I can't test. This fixes all the refleaks in at least the start of a regrtest -R :: run. | ||||
* | Rest of patch #1490384: Commit icon source, remove | Martin v. Löwis | 2006-05-28 | 3 | -4/+609 |
| | | | | | claim that Erik von Blokland is the author of the installer picture. | ||||
* | Patch #1080727: add "encoding" parameter to doctest.DocFileSuite | George Yoshida | 2006-05-28 | 5 | -10/+99 |
| | | | | Contributed by Bjorn Tillenius. | ||||
* | Quality control, meet exceptions.c. | Michael W. Hudson | 2006-05-28 | 1 | -128/+105 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a number of problems with the need for speed code: One is doing this sort of thing: Py_DECREF(self->field); self->field = newval; Py_INCREF(self->field); without being very sure that self->field doesn't start with a value that has a __del__, because that almost certainly can lead to segfaults. As self->args is constrained to be an exact tuple we may as well exploit this fact consistently. This leads to quite a lot of simplification (and, hey, probably better performance). Add some error checking in places lacking it. Fix some rather strange indentation in the Unicode code. Delete some trailing whitespace. More to come, I haven't fixed all the reference leaks yet... | ||||
* | needforspeed: added Py_MEMCPY macro (currently tuned for Visual C only), | Fredrik Lundh | 2006-05-28 | 3 | -46/+60 |
| | | | | | and use it for string copy operations. this gives a 20% speedup on some string benchmarks. | ||||
* | PyErr_Display(), PyErr_WriteUnraisable(): Coverity found a cut-and-paste | Tim Peters | 2006-05-28 | 2 | -18/+23 |
| | | | | bug in both: `className` was referenced before being checked for NULL. | ||||
* | Added missing svn:eol-style property to text files. | Tim Peters | 2006-05-28 | 30 | -10308/+10308 |
| | |||||
* | fix typo | George Yoshida | 2006-05-27 | 1 | -1/+1 |
| | |||||
* | End of Ch.3 is now about "with statement". | George Yoshida | 2006-05-27 | 1 | -3/+3 |
| | | | | Avoid obsolescence by directly referring to the section. | ||||
* | minor markup nits | George Yoshida | 2006-05-27 | 2 | -4/+5 |
| | |||||
* | move semicolons | Richard Jones | 2006-05-27 | 1 | -53/+51 |
| | |||||
* | doc string additions and tweaks | Richard Jones | 2006-05-27 | 1 | -8/+21 |
| | |||||
* | fix struct regression on 64-bit platforms | Bob Ippolito | 2006-05-27 | 1 | -22/+36 |
| | |||||
* | needforspeed: use PyObject_MALLOC instead of system malloc for small | Jack Diederich | 2006-05-27 | 1 | -4/+4 |
| | | | | allocations. Use PyMem_MALLOC for larger (1k+) chunks. 1%-2% speedup. | ||||
* | Add a PCBuild8 build directory for building with Visual Studio .NET 2005. ↵ | Kristján Valur Jónsson | 2006-05-27 | 38 | -0/+14409 |
| | | | | Contains a special project to perform profile guided optimizations on the pythoncore.dll, by instrumenting and running pybench.py | ||||
* | needforspeed: stringlib refactoring: use find_slice for stringobject | Fredrik Lundh | 2006-05-27 | 1 | -12/+15 |
| | |||||
* | needforspeed: stringlib refactoring: changed find_obj to find_slice, | Fredrik Lundh | 2006-05-27 | 2 | -36/+69 |
| | | | | to enable use from stringobject | ||||
* | needforspeed: replace improvements, changed to Py_LOCAL_INLINE | Fredrik Lundh | 2006-05-27 | 6 | -41/+55 |
| | | | | where appropriate | ||||
* | Remove spurious semicolons after macro invocations. | Georg Brandl | 2006-05-27 | 1 | -42/+42 |
| | |||||
* | cleanup - removed trailing whitespace | Andrew Dalke | 2006-05-27 | 1 | -1/+1 |
| | |||||
* | The cheery optimism of old age. | Tim Peters | 2006-05-27 | 1 | -13/+1 |
| | |||||
* | Always close BZ2Proxy object. Remove unnecessary struct usage. | Georg Brandl | 2006-05-27 | 1 | -13/+10 |
| | |||||
* | credit where credit is due | Richard Jones | 2006-05-27 | 1 | -2/+2 |
| | |||||
* | Mention new-style exceptions | Andrew M. Kuchling | 2006-05-27 | 1 | -0/+6 |
| | |||||
* | More random thrashing trying to understand spurious | Tim Peters | 2006-05-27 | 1 | -1/+13 |
| | | | | Windows failures. Who's keeping a bz2 file open? | ||||
* | Add news item for new-style exception class branch merge. | Georg Brandl | 2006-05-27 | 1 | -0/+4 |
| | |||||
* | Conversion of exceptions over from faked-up classes to new-style C types. | Richard Jones | 2006-05-27 | 16 | -2163/+2316 |
| | |||||
* | Fix up struct docstrings, add struct.pack_to function for symmetry | Bob Ippolito | 2006-05-27 | 3 | -8/+42 |
| | |||||
* | Remove the range checking and int usage #defines from _struct and strip out ↵ | Bob Ippolito | 2006-05-27 | 1 | -63/+8 |
| | | | | the now-dead code | ||||
* | Add Py_LOCAL macros | Andrew M. Kuchling | 2006-05-27 | 1 | -0/+12 |
| | |||||
* | Revert bogus change committed in 46432 to this file. | Martin v. Löwis | 2006-05-27 | 1 | -1/+0 |
| | |||||
* | fixed typo | Andrew Dalke | 2006-05-27 | 1 | -1/+1 |
| | |||||
* | needforspeed: backed out the Py_LOCAL-isation of ceval; the massive in- | Fredrik Lundh | 2006-05-27 | 2 | -68/+70 |
| | | | | | lining killed performance on certain Intel boxes, and the "aggressive" macro itself gives most of the benefits on others. | ||||
* | needforspeed: more stringlib refactoring | Fredrik Lundh | 2006-05-27 | 4 | -147/+161 |
| | |||||
* | Explain why 'consumed' is initialized. | Martin v. Löwis | 2006-05-27 | 1 | -8/+4 |
| | |||||
* | Patch 1494554: Update numeric properties to Unicode 4.1. | Martin v. Löwis | 2006-05-27 | 6 | -11/+336 |
| | |||||
* | Fix Coverity warnings. | Neal Norwitz | 2006-05-27 | 2 | -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 Norwitz | 2006-05-27 | 1 | -4/+4 |
| | | | | looked duplicated, I wonder if a utility function could help reduce the duplication here.) | ||||
* | Reinstate new-style object tests. | Steve Holden | 2006-05-27 | 1 | -0/+66 |
| | |||||
* | Patch 1145039. | Tim Peters | 2006-05-26 | 2 | -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 strategy | Andrew Dalke | 2006-05-26 | 1 | -0/+8 |
| | |||||
* | Blasted typos ... | Steve Holden | 2006-05-26 | 1 | -1/+1 |
| | |||||
* | Update help text and documentaition. | Steve Holden | 2006-05-26 | 2 | -1/+12 |
| | |||||
* | Add Richard Tew to developers | Steve Holden | 2006-05-26 | 1 | -0/+1 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-05-26 | 1 | -1/+1 |
| | |||||
* | Record Iceland sprint attendees. | Tim Peters | 2006-05-26 | 1 | -0/+16 |
| | |||||
* | enable all of the struct tests, use ssize_t, fix some whitespace | Bob Ippolito | 2006-05-26 | 2 | -59/+68 |
| | |||||
* | Added limits to the replace code so it does not count all of the matching | Andrew Dalke | 2006-05-26 | 1 | -22/+19 |
| | | | | patterns in a string, only the number needed by the max limit. |