Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Issue #1342811: Fix leak in Tkinter.Menu.delete. Commands associated to | Robert Schuppenies | 2008-08-10 | 2 | -0/+13 | |
| | | | | | | menu entries were not deleted. Backport from trunk r65622. | |||||
* | (backport from trunk r64756) | Gregory P. Smith | 2008-08-04 | 2 | -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. Smith | 2008-08-04 | 3 | -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. Smith | 2008-08-04 | 2 | -23/+36 | |
| | | | | Issue #3120: On 64-bit Windows the subprocess module was truncating handles. | |||||
* | (backport r65459 from trunk) | Gregory P. Smith | 2008-08-04 | 2 | -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 unwrap | Martin v. Löwis | 2008-08-02 | 2 | -9/+11 | |
| | | | | | Tcl command objects. Backport of r65399. | |||||
* | Security patches from Apple: prevent int overflow when allocating memory | Neal Norwitz | 2008-07-31 | 13 | -26/+244 | |
| | ||||||
* | Backport code from r65182: | Neal Norwitz | 2008-07-28 | 6 | -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 versions | Antoine Pitrou | 2008-07-25 | 3 | -14/+20 | |
| | ||||||
* | Issue #3360: Fix incorrect parsing of '020000000000.0'. | Mark Dickinson | 2008-07-16 | 3 | -10/+8 | |
| | | | | This is a backport of r65005. | |||||
* | Link fix. | Georg Brandl | 2008-07-16 | 1 | -1/+1 | |
| | ||||||
* | Backport of 64903. | Brett Cannon | 2008-07-13 | 3 | -6/+7 | |
| | ||||||
* | Backport r62627 + r62744 from trunk to fix issue 2632. | Gregory P. Smith | 2008-07-06 | 3 | -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 Cannon | 2008-07-02 | 2 | -1/+3 | |
| | ||||||
* | #Issue3088 in-progress: Race condition with instances of classes derived ↵ | Amaury Forgeot d'Arc | 2008-07-01 | 3 | -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'Arc | 2008-07-01 | 3 | -1/+26 | |
| | | | | | | whose write() method installs another sys.stdout. Backport of r64633 | |||||
* | #3157: Fix docstrings for cursor methods. | Georg Brandl | 2008-06-22 | 1 | -3/+3 | |
| | ||||||
* | Issue 3110: Crash with weakref subclass, | Amaury Forgeot d'Arc | 2008-06-16 | 3 | -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 Hettinger | 2008-06-16 | 2 | -1/+6 | |
| | ||||||
* | #3117: backport r55087, fixes segfault with lambda (None,): None. | Georg Brandl | 2008-06-15 | 2 | -0/+5 | |
| | ||||||
* | Fix tkinter sequence passing. #2906. Backport from r63914. | Georg Brandl | 2008-06-03 | 1 | -1/+7 | |
| | ||||||
* | - Issue #2588, #2589: Fix potential integer underflow and overflow | Gregory P. Smith | 2008-06-02 | 2 | -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.communicate | Gregory P. Smith | 2008-06-01 | 3 | -0/+22 | |
| | | | | now closes its stdout and stderr fds as soon as it is finished with them. | |||||
* | Backport r63776: tkinter fixes. | Georg Brandl | 2008-05-31 | 1 | -15/+19 | |
| | ||||||
* | Include all licenses of the packages that we include. | Martin v. Löwis | 2008-05-25 | 1 | -1/+22 | |
| | ||||||
* | Patch #2111: Avoid mmap segfault when modifying a PROT_READ block. | Martin v. Löwis | 2008-05-23 | 3 | -0/+23 | |
| | ||||||
* | fix issue2858: potential memory corruption when any of the bsddb.db.* | Gregory P. Smith | 2008-05-17 | 2 | -7/+8 | |
| | | | | constructors raised an exception. backportes from trunk c63403. | |||||
* | #2803: fix heappush invocation (backport). | Georg Brandl | 2008-05-11 | 1 | -1/+1 | |
| | ||||||
* | Backport of revision 62854 | Ronald Oussoren | 2008-05-08 | 1 | -1/+11 | |
| | ||||||
* | Fix os.walk docstring example - issue2707 | Gregory P. Smith | 2008-05-06 | 1 | -1/+2 | |
| | ||||||
* | Backport r61468 from trunk: Improves the text of the IOError raised | Gregory P. Smith | 2008-05-03 | 1 | -2/+5 | |
| | | | | when open() returns EINVAL. See issue2158. | |||||
* | Fix issue 2520 (cannot import macerrors) | Ronald Oussoren | 2008-05-02 | 1 | -0/+1 | |
| | ||||||
* | Backport of revision 62648 | Ronald Oussoren | 2008-05-02 | 3 | -101/+43 | |
| | ||||||
* | Issue #2682: ctypes callback functions no longer contain a cyclic | Thomas Heller | 2008-04-25 | 4 | -51/+138 | |
| | | | | | | reference to themselves. Backport from trunk. | |||||
* | Issue #2670: urllib2.build_opener() failed when two handlers | Amaury Forgeot d'Arc | 2008-04-22 | 3 | -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'Arc | 2008-04-21 | 2 | -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'Arc | 2008-04-11 | 1 | -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 of | Guido van Rossum | 2008-04-10 | 3 | -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. Smith | 2008-04-10 | 1 | -1/+0 | |
| | | | | remove the now obsoleted assertion. | |||||
* | Backport r62261 from trunk: | Gregory P. Smith | 2008-04-09 | 2 | -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. Smith | 2008-04-09 | 1 | -0/+3 | |
| | ||||||
* | Merge r62235 from trunk. | Gregory P. Smith | 2008-04-09 | 2 | -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 Brandl | 2008-04-07 | 1 | -8/+38 | |
| | ||||||
* | Fix for Issue2515: Don't crash when trying to fetch data from a closed cursor. | Gerhard Häring | 2008-04-06 | 1 | -8/+10 | |
| | ||||||
* | Remove the advertising clause from the BSD license in timing.h. | Guido van Rossum | 2008-04-01 | 1 | -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 Brandl | 2008-03-29 | 2 | -1/+15 | |
| | ||||||
* | Fix a reference leak found by Georg, when compiling a class nested in ↵ | Amaury Forgeot d'Arc | 2008-03-28 | 3 | -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'Arc | 2008-03-27 | 4 | -2/+23 | |
| | | | | | | | | string literals: "" "" becomes """", which is invalid code. Backport of r61979. | |||||
* | Issue #2482: Make sure that the coefficient of a Decimal instance | Mark Dickinson | 2008-03-25 | 3 | -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 not | Mark Dickinson | 2008-03-25 | 3 | -3/+11 | |
| | | | | explicitly supplied. |