| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
pythonapi calling convention so that the GIL is held and error return
values are checked.
|
|
|
|
|
|
|
| |
Be less strict when parsing these version numbers,
they don't necessarily follow the python numbering scheme.
Backport of r65834
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
(backport from r65609)
|
|
|
|
| |
(backport from r65644)
|
|
|
|
| |
object was stored in the freelist. (backport from r65637.)
|
|
|
|
|
|
| |
menu entries were not deleted.
Backport from trunk r65622.
|
|
|
|
|
| |
Issue #2113: Fix error in subprocess.Popen if the select system call is
interrupted by a signal.
|
|
|
|
|
| |
Issue #1471: Arguments to fcntl.ioctl are no longer broken on 64-bit OpenBSD
and similar platforms due to sign extension.
|
|
|
|
| |
Issue #3120: On 64-bit Windows the subprocess module was truncating handles.
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
| |
Tcl command objects.
Backport of r65399.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
This is a backport of r65005.
|
| |
|
|
|
|
|
|
| |
- 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
whose write() method installs another sys.stdout.
Backport of r64633
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
conditions in the PyOS_vsnprintf C API function.
This is a backport of r63728 and r63734 from trunk.
|
|
|
|
| |
now closes its stdout and stderr fds as soon as it is finished with them.
|
| |
|
|
|
|
| |
constructors raised an exception. backportes from trunk c63403.
|
|
|
|
|
|
| |
reference to themselves.
Backport from trunk.
|
|
|
|
|
|
| |
derive the same default base class.
Backport of r62463.
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
|
| |
Prevent PyString_FromStringAndSize() from passing negative sizes on to lower
level memory allocation functions. Raise a SystemError and return NULL
instead.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
another class.
Test is run with "regrtest.py -R:: test_compile"
Backport of r62015
|
|
|
|
|
|
|
|
| |
string literals:
"" "" becomes """", which is invalid code.
Backport of r61979.
|
|
|
|
|
| |
is stored as a str instance rather than a unicode instance.
Backported from Python 2.6 (see r61904).
|
|
|
|
| |
explicitly supplied.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
advertised in the docs.
(backport from r61712)
|
|
|
|
| |
and **kwargs expressions could give bogus error messages.
|
| |
|
|
|
|
|
| |
Issue 2321: reduce memory usage (increase the memory that is returned
to the system) by using pymalloc for the data of unicode objects.
|
|
|
|
| |
(backport from r61275)
|
|
|
|
| |
#1725737: ignore other VC directories other than CVS and SVN's too.
|
|
|
|
| |
permission to create files in the root directory.
|
|
|
|
| |
socket
|
|
|
|
| |
Fredrik Lundh.
|
|
|
|
| |
Fix by Malte Helmert
|