summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* issue #3554: ctypes.string_at and ctypes.wstring_at must use theThomas Heller2008-08-191-0/+4
| | | | | pythonapi calling convention so that the GIL is held and error return values are checked.
* Issue #2234: distutils failed with mingw binutils 2.18.50.20080109.Amaury Forgeot d'Arc2008-08-181-0/+4
| | | | | | | Be less strict when parsing these version numbers, they don't necessarily follow the python numbering scheme. Backport of r65834
* Backport of r64767 from trunkGregory P. Smith2008-08-171-0/+4
| | | | | | Fixes Issue #3309: Fix bz2.BZFile iterator to release its internal lock properly when raising an exception due to the bz2file being closed. Prevents a deadlock.
* Backport of r65032 from trunkGregory P. Smith2008-08-171-0/+4
| | | | | | Fixes Issue #874900: after an os.fork() call the threading module state is cleaned up in the child process to prevent deadlock and report proper thread counts if the new process uses the threading module.
* I forgot to update NEWS.Hirokazu Yamamoto2008-08-171-0/+3
|
* #3205: bz2 iterator fails silently on MemoryErrorGeorg Brandl2008-08-121-0/+3
| | | | (backport from r65609)
* #3134: shutil referenced undefined WindowsError symbolGeorg Brandl2008-08-121-0/+2
| | | | (backport from r65644)
* - Issue #3537: Fix an assertion failure when an empty but presized dictGeorg Brandl2008-08-111-0/+3
| | | | object was stored in the freelist. (backport from r65637.)
* Issue #1342811: Fix leak in Tkinter.Menu.delete. Commands associated toRobert Schuppenies2008-08-101-0/+3
| | | | | | menu entries were not deleted. Backport from trunk r65622.
* (backport from trunk r64756)Gregory P. Smith2008-08-041-0/+4
| | | | | 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-041-0/+3
| | | | | 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-041-0/+2
| | | | Issue #3120: On 64-bit Windows the subprocess module was truncating handles.
* (backport r65459 from trunk)Gregory P. Smith2008-08-041-0/+4
| | | | | | - 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-021-0/+2
| | | | | Tcl command objects. Backport of r65399.
* Security patches from Apple: prevent int overflow when allocating memoryNeal Norwitz2008-07-311-0/+2
|
* Backport code from r65182:Neal Norwitz2008-07-281-0/+7
| | | | | | | | | 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-251-13/+16
|
* Issue #3360: Fix incorrect parsing of '020000000000.0'.Mark Dickinson2008-07-161-0/+3
| | | | This is a backport of r65005.
* Backport of 64903.Brett Cannon2008-07-131-0/+3
|
* Backport r62627 + r62744 from trunk to fix issue 2632.Gregory P. Smith2008-07-061-0/+3
| | | | | | - 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-021-0/+2
|
* #Issue3088 in-progress: Race condition with instances of classes derived ↵Amaury Forgeot d'Arc2008-07-011-0/+4
| | | | | | | | | | | | | 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-011-0/+4
| | | | | | whose write() method installs another sys.stdout. Backport of r64633
* Issue 3110: Crash with weakref subclass,Amaury Forgeot d'Arc2008-06-161-0/+3
| | | | | | | | | | | 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-161-0/+2
|
* - Issue #2588, #2589: Fix potential integer underflow and overflowGregory P. Smith2008-06-021-0/+3
| | | | | | 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-011-0/+4
| | | | now closes its stdout and stderr fds as soon as it is finished with them.
* Patch #2111: Avoid mmap segfault when modifying a PROT_READ block.Martin v. Löwis2008-05-231-0/+2
|
* fix issue2858: potential memory corruption when any of the bsddb.db.*Gregory P. Smith2008-05-171-0/+3
| | | | constructors raised an exception. backportes from trunk c63403.
* Issue #2682: ctypes callback functions no longer contain a cyclicThomas Heller2008-04-251-0/+3
| | | | | | reference to themselves. Backport from trunk.
* Issue #2670: urllib2.build_opener() failed when two handlersAmaury Forgeot d'Arc2008-04-221-0/+3
| | | | | | derive the same default base class. Backport of r62463.
* - Issue #1686386: Tuple's tp_repr did not take into account the possibility ofGuido van Rossum2008-04-101-0/+6
| | | | | | | 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 r62261 from trunk:Gregory P. Smith2008-04-091-3/+8
| | | | | | 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
|
* Backport #1442: report exception when startup file cannot be run.Georg Brandl2008-03-291-1/+6
|
* Fix a reference leak found by Georg, when compiling a class nested in ↵Amaury Forgeot d'Arc2008-03-281-0/+3
| | | | | | | | 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-271-0/+4
| | | | | | | | string literals: "" "" becomes """", which is invalid code. Backport of r61979.
* Issue #2482: Make sure that the coefficient of a Decimal instanceMark Dickinson2008-03-251-0/+5
| | | | | 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-251-0/+2
| | | | explicitly supplied.
* #1477: ur'\U0010FFFF' used to raise in narrow unicode builds.Amaury Forgeot d'Arc2008-03-241-0/+7
| | | | | | | Corrected the raw-unicode-escape codec to use UTF-16 surrogates in this case, like the unicode-escape codec does. Backport of r61793 and r61853
* Issue #2432: give DictReader the dialect and line_num attributesGeorg Brandl2008-03-211-0/+3
| | | | | advertised in the docs. (backport from r61712)
* Back-port of rev 61240 for issue #2238, fixing: Some syntax errors in *argsSean Reifscheider2008-03-201-0/+3
| | | | and **kwargs expressions could give bogus error messages.
* The missing NEWS entry for r61542..Gregory P. Smith2008-03-181-0/+3
|
* Backport r61458:Neal Norwitz2008-03-181-0/+2
| | | | | Issue 2321: reduce memory usage (increase the memory that is returned to the system) by using pymalloc for the data of unicode objects.
* Bug #2220: handle rlcompleter attribute match failure more gracefully.Georg Brandl2008-03-061-0/+2
| | | | (backport from r61275)
* Backport of r61263:Martin v. Löwis2008-03-061-0/+3
| | | | #1725737: ignore other VC directories other than CVS and SVN's too.
* Patch #2232: os.tmpfile might fail on Windows if the user has noMartin v. Löwis2008-03-061-0/+7
| | | | permission to create files in the root directory.
* #1389051, #1092502: fix excessively large allocations when using read() on a ↵Andrew M. Kuchling2008-02-231-0/+3
| | | | socket
* #1389051: IMAP module tries to read entire message in one chunk. Patch by ↵Andrew M. Kuchling2008-02-231-0/+3
| | | | Fredrik Lundh.
* #1433694: minidom's .normalize() failed to set .nextSibling for last element.Andrew M. Kuchling2008-02-232-0/+5
| | | | Fix by Malte Helmert