summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Correct some value converting strangenesses.Georg Brandl2006-05-294-7/+7
|
* Silence a warning.Armin Rigo2006-05-291-1/+1
|
* simplify the struct code a bit (no functional changes)Bob Ippolito2006-05-291-23/+31
|
* Fix #1494787 (pyclbr counts whitespace as superclass name)Georg Brandl2006-05-291-2/+4
|
* Fix compiler warning.Georg Brandl2006-05-291-1/+1
|
* Handle PyMem_Malloc failure in pystrtod.c. Closes #1494671.Georg Brandl2006-05-291-0/+7
|
* Fix #1494605.Georg Brandl2006-05-291-1/+2
|
* Convert fmmodule to METH_VARARGS.Georg Brandl2006-05-291-11/+11
|
* Apply modified version of Collin Winter's patch #1478788Nick Coghlan2006-05-2910-26/+32
| | | | | | Renames functional extension module to _functools and adds a Python functools module so that utility functions like update_wrapper can be added easily.
* Fix refleak in socketmodule. Replace bogus Py_BuildValue calls.Georg Brandl2006-05-292-3/+6
| | | | Fix refleak in exceptions.
* METH_NOARGS functions do get called with two args.Georg Brandl2006-05-281-5/+5
|
* Convert audioop over to METH_VARARGS.Georg Brandl2006-05-281-60/+66
|
* Fix C function calling conventions in _sre module.Georg Brandl2006-05-281-38/+18
|
* A clearer error message when passing -R to regrtest.py withArmin Rigo2006-05-281-0/+3
| | | | release builds of Python.
* Correct None refcount issue in Mac modules. (Are theyGeorg Brandl2006-05-285-5/+5
| | | | still used?)
* Fix ref-antileak in _struct.c which eventually lead to deallocating None.Georg Brandl2006-05-281-1/+1
|
* Make last patch valid C89 so Windows compilers can deal with it.Thomas Wouters2006-05-281-1/+2
|
* use the UnicodeError traversal and clearing functions in UnicodeErrorMichael W. Hudson2006-05-281-4/+4
| | | | subclasses.
* Fix refleaks in UnicodeError get and set methods.Georg Brandl2006-05-281-45/+56
|
* Patch #1496206: urllib2 PasswordMgr ./. default portsGeorg Brandl2006-05-283-18/+82
|
* The empty string is a valid import path.Georg Brandl2006-05-281-2/+4
| | | | (fixes #1496539)
* ("Forward-port" of r46506)Armin Rigo2006-05-288-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 dependentMarc-André Lemburg2006-05-281-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. Hudson2006-05-281-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, removeMartin v. Löwis2006-05-283-4/+609
| | | | | claim that Erik von Blokland is the author of the installer picture.
* Patch #1080727: add "encoding" parameter to doctest.DocFileSuiteGeorge Yoshida2006-05-285-10/+99
| | | | Contributed by Bjorn Tillenius.
* Quality control, meet exceptions.c.Michael W. Hudson2006-05-281-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 Lundh2006-05-283-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-pasteTim Peters2006-05-282-18/+23
| | | | bug in both: `className` was referenced before being checked for NULL.
* Added missing svn:eol-style property to text files.Tim Peters2006-05-2830-10308/+10308
|
* fix typoGeorge Yoshida2006-05-271-1/+1
|
* End of Ch.3 is now about "with statement".George Yoshida2006-05-271-3/+3
| | | | Avoid obsolescence by directly referring to the section.
* minor markup nitsGeorge Yoshida2006-05-272-4/+5
|
* move semicolonsRichard Jones2006-05-271-53/+51
|
* doc string additions and tweaksRichard Jones2006-05-271-8/+21
|
* fix struct regression on 64-bit platformsBob Ippolito2006-05-271-22/+36
|
* needforspeed: use PyObject_MALLOC instead of system malloc for smallJack Diederich2006-05-271-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ónsson2006-05-2738-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 stringobjectFredrik Lundh2006-05-271-12/+15
|
* needforspeed: stringlib refactoring: changed find_obj to find_slice,Fredrik Lundh2006-05-272-36/+69
| | | | to enable use from stringobject
* needforspeed: replace improvements, changed to Py_LOCAL_INLINEFredrik Lundh2006-05-276-41/+55
| | | | where appropriate
* Remove spurious semicolons after macro invocations.Georg Brandl2006-05-271-42/+42
|
* cleanup - removed trailing whitespaceAndrew Dalke2006-05-271-1/+1
|
* The cheery optimism of old age.Tim Peters2006-05-271-13/+1
|
* Always close BZ2Proxy object. Remove unnecessary struct usage.Georg Brandl2006-05-271-13/+10
|
* credit where credit is dueRichard Jones2006-05-271-2/+2
|
* Mention new-style exceptionsAndrew M. Kuchling2006-05-271-0/+6
|
* More random thrashing trying to understand spuriousTim Peters2006-05-271-1/+13
| | | | Windows failures. Who's keeping a bz2 file open?
* Add news item for new-style exception class branch merge.Georg Brandl2006-05-271-0/+4
|
* Conversion of exceptions over from faked-up classes to new-style C types.Richard Jones2006-05-2716-2163/+2316
|