| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
context manager's __exit__ method's result while it's being converted to bool.
|
| | | |
| | | |
| | | |
| | | | |
Backport of r67266
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
and then remove it. Written by Guilherme Polo (gpolo). Backport of r67082.
|
| | | |
| | | |
| | | |
| | | | |
relative imports
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
does not return an iterator for the 4th and 5th items.
(sequence-like and mapping-like state)
Backport of r67049.
|
| | | |
| | | |
| | | |
| | | | |
snv rev 59943 and 59946.
|
| | | |
| | | |
| | | |
| | | | |
module.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
garbage collection of a Profiler object.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For example:
"".count("xxxx", sys.maxint, 0)
Backport of r66631.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
statements #3936
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Reviewed by Fredrik Lundh and Skip Montanaro.
Backport from trunk.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- Issue #3678: Correctly pass LDFLAGS and LDLAST to the linker on shared
library targets in the Makefile.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
a unicode argument.
Backport of r66119
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|