summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Issue #1342811: Fix leak in Tkinter.Menu.delete. Commands associated toRobert Schuppenies2008-08-102-0/+13
| | | | | | menu entries were not deleted. Backport from trunk r65622.
* (backport from trunk r64756)Gregory P. Smith2008-08-042-1/+10
| | | | | Issue #2113: Fix error in subprocess.Popen if the select system call is interrupted by a signal.
* (backport of r61652 and r61665 from trunk)Gregory P. Smith2008-08-043-5/+46
| | | | | Issue #1471: Arguments to fcntl.ioctl are no longer broken on 64-bit OpenBSD and similar platforms due to sign extension.
* (backport trunk r65151)Gregory P. Smith2008-08-042-23/+36
| | | | Issue #3120: On 64-bit Windows the subprocess module was truncating handles.
* (backport r65459 from trunk)Gregory P. Smith2008-08-042-4/+12
| | | | | | - Issue #1857: subprocess.Popen.poll gained an additional _deadstate keyword argument in python 2.5, this broke code that subclassed Popen to include its own poll method. Fixed my moving _deadstate to an _internal_poll method.
* Issue #799428: Fix Tkinter.Misc._nametowidget to unwrapMartin v. Löwis2008-08-022-9/+11
| | | | | Tcl command objects. Backport of r65399.
* Security patches from Apple: prevent int overflow when allocating memoryNeal Norwitz2008-07-3113-26/+244
|
* Backport code from r65182:Neal Norwitz2008-07-286-15/+57
| | | | | | | | | Issue #2620: Overflow checking when allocating or reallocating memory was not always being done properly in some python types and extension modules. PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have all been updated to perform better checks and places in the code that would previously leak memory on the error path when such an allocation failed have been fixed.
* #2242: utf7 decoding crashes on bogus input on some Windows/MSVC versionsAntoine Pitrou2008-07-253-14/+20
|
* Issue #3360: Fix incorrect parsing of '020000000000.0'.Mark Dickinson2008-07-163-10/+8
| | | | This is a backport of r65005.
* Link fix.Georg Brandl2008-07-161-1/+1
|
* Backport of 64903.Brett Cannon2008-07-133-6/+7
|
* Backport r62627 + r62744 from trunk to fix issue 2632.Gregory P. Smith2008-07-063-62/+136
| | | | | | - Issue #2632: Prevent socket.read(bignumber) from over allocating memory in the common case when the data is returned from the underlying socket in increments much smaller than bignumber.
* Backport of r64677.Brett Cannon2008-07-022-1/+3
|
* #Issue3088 in-progress: Race condition with instances of classes derived ↵Amaury Forgeot d'Arc2008-07-013-1/+37
| | | | | | | | | | | | | from threading.local: When a thread touches such an object for the first time, a new thread-local __dict__ is created, and the __init__ method is run. But a thread switch can occur here; if the other thread touches the same object, it installs another __dict__; when the first thread resumes, it updates the dictionary of the second... This is the deep cause of the failures in test_multiprocessing involving "managers" objects. Backport of r64601.
* #3242: fix a crash in "print", if sys.stdout is set to a custom object,Amaury Forgeot d'Arc2008-07-013-1/+26
| | | | | | whose write() method installs another sys.stdout. Backport of r64633
* #3157: Fix docstrings for cursor methods.Georg Brandl2008-06-221-3/+3
|
* Issue 3110: Crash with weakref subclass,Amaury Forgeot d'Arc2008-06-163-5/+55
| | | | | | | | | | | seen after a "import multiprocessing.reduction" An instance of a weakref subclass can have attributes. If such a weakref holds the only strong reference to the object, deleting the weakref will delete the object. In this case, the callback must not be called, because the ref object is being deleted! Backport of r34309
* Issue #3116 and #1792: Fix quadratic behavior in marshal.dumps().Raymond Hettinger2008-06-162-1/+6
|
* #3117: backport r55087, fixes segfault with lambda (None,): None.Georg Brandl2008-06-152-0/+5
|
* Fix tkinter sequence passing. #2906. Backport from r63914.Georg Brandl2008-06-031-1/+7
|
* - Issue #2588, #2589: Fix potential integer underflow and overflowGregory P. Smith2008-06-022-5/+20
| | | | | | conditions in the PyOS_vsnprintf C API function. This is a backport of r63728 and r63734 from trunk.
* Backport r62724 from trunk. Fixes issue 2791. subprocess.Popen.communicateGregory P. Smith2008-06-013-0/+22
| | | | now closes its stdout and stderr fds as soon as it is finished with them.
* Backport r63776: tkinter fixes.Georg Brandl2008-05-311-15/+19
|
* Include all licenses of the packages that we include.Martin v. Löwis2008-05-251-1/+22
|
* Patch #2111: Avoid mmap segfault when modifying a PROT_READ block.Martin v. Löwis2008-05-233-0/+23
|
* fix issue2858: potential memory corruption when any of the bsddb.db.*Gregory P. Smith2008-05-172-7/+8
| | | | constructors raised an exception. backportes from trunk c63403.
* #2803: fix heappush invocation (backport).Georg Brandl2008-05-111-1/+1
|
* Backport of revision 62854Ronald Oussoren2008-05-081-1/+11
|
* Fix os.walk docstring example - issue2707Gregory P. Smith2008-05-061-1/+2
|
* Backport r61468 from trunk: Improves the text of the IOError raisedGregory P. Smith2008-05-031-2/+5
| | | | when open() returns EINVAL. See issue2158.
* Fix issue 2520 (cannot import macerrors)Ronald Oussoren2008-05-021-0/+1
|
* Backport of revision 62648Ronald Oussoren2008-05-023-101/+43
|
* Issue #2682: ctypes callback functions no longer contain a cyclicThomas Heller2008-04-254-51/+138
| | | | | | reference to themselves. Backport from trunk.
* Issue #2670: urllib2.build_opener() failed when two handlersAmaury Forgeot d'Arc2008-04-223-3/+12
| | | | | | derive the same default base class. Backport of r62463.
* Issue 2665: On Windows, sys.stderr does not contain a valid file when ↵Amaury Forgeot d'Arc2008-04-212-5/+20
| | | | | | | | | | running without a console. It seems to work, but will fail at the first flush. This causes IDLE to silently crash when too many warnings are printed. Backport of r62448.
* Correct previous checkin, probably a svn merge issue.Amaury Forgeot d'Arc2008-04-111-4/+4
| | | | | | | | | | Now the code is similar to the one in trunk/. The behavior was funny: >>> print (), repr(()) (), () >>> print (), repr(()) (), (...)
* - Issue #1686386: Tuple's tp_repr did not take into account the possibility ofGuido van Rossum2008-04-103-1/+24
| | | | | | | having a self-referential tuple, which is possible from C code. Nor did object's tp_str consider that a type's tp_str could do something that could lead to an inifinite recursion. Py_ReprEnter() and Py_EnterRecursiveCall(), respectively, fixed the issues. (Backport of r58288 from trunk to 2.5.)
* backport r62271 from trunk.Gregory P. Smith2008-04-101-1/+0
| | | | remove the now obsoleted assertion.
* Backport r62261 from trunk:Gregory P. Smith2008-04-092-3/+13
| | | | | | Prevent PyString_FromStringAndSize() from passing negative sizes on to lower level memory allocation functions. Raise a SystemError and return NULL instead.
* Add a note about the zlib.decompressobj().flush() fix.Gregory P. Smith2008-04-091-0/+3
|
* Merge r62235 from trunk.Gregory P. Smith2008-04-092-0/+9
| | | | | Fix zlib crash from zlib.decompressobj().flush(val) when val was not positive. It tried to allocate negative or zero memory. That fails.
* #2525: update tzinfo example.Georg Brandl2008-04-071-8/+38
|
* Fix for Issue2515: Don't crash when trying to fetch data from a closed cursor.Gerhard Häring2008-04-061-8/+10
|
* Remove the advertising clause from the BSD license in timing.h.Guido van Rossum2008-04-011-6/+3
| | | | | I have the email trail to prove that George Neville-Neil approved this. (Backport of r62097.)
* Backport #1442: report exception when startup file cannot be run.Georg Brandl2008-03-292-1/+15
|
* Fix a reference leak found by Georg, when compiling a class nested in ↵Amaury Forgeot d'Arc2008-03-283-0/+8
| | | | | | | | another class. Test is run with "regrtest.py -R:: test_compile" Backport of r62015
* Issue2495: tokenize.untokenize did not insert space between two consecutive ↵Amaury Forgeot d'Arc2008-03-274-2/+23
| | | | | | | | string literals: "" "" becomes """", which is invalid code. Backport of r61979.
* Issue #2482: Make sure that the coefficient of a Decimal instanceMark Dickinson2008-03-253-3/+24
| | | | | is stored as a str instance rather than a unicode instance. Backported from Python 2.6 (see r61904).
* Decimal.sqrt(0) failed when the context was notMark Dickinson2008-03-253-3/+11
| | | | explicitly supplied.