- 17 Mar, 2016 4 commits
-
-
Donald Stufft authored
-
Donald Stufft authored
-
Donald Stufft authored
-
Victor Stinner authored
-
- 18 Mar, 2016 2 commits
-
-
Martin Panter authored
-
Martin Panter authored
-
- 17 Mar, 2016 2 commits
-
-
Victor Stinner authored
Issue #26569: Fix pyclbr.readmodule() and pyclbr.readmodule_ex() to support importing packages.
-
Victor Stinner authored
-
- 16 Mar, 2016 3 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
Issue #26563: Replace PyMem_Malloc() with PyMem_RawFree() since PostToQueueCallback() calls PyMem_RawFree() (previously PyMem_Free()) in a new C thread which doesn't hold the GIL.
-
Victor Stinner authored
Issue #26563: Replace PyMem_Malloc() with PyMem_RawFree() since PostToQueueCallback() calls PyMem_RawFree() (previously PyMem_Free()) in a new C thread which doesn't hold the GIL.
-
- 17 Mar, 2016 1 commit
-
-
Martin Panter authored
-
- 16 Mar, 2016 6 commits
-
-
Victor Stinner authored
Issue #26563: Py_FatalError: disable faulthandler before trying to flush sys.stdout and sys.stderr.
-
Victor Stinner authored
Issue #26563: Py_FatalError: disable faulthandler before trying to flush sys.stdout and sys.stderr.
-
Victor Stinner authored
Issue #26563: * Add _PyGILState_GetInterpreterStateUnsafe() function: the single PyInterpreterState used by this process' GILState implementation. * Enhance _Py_DumpTracebackThreads() to retrieve the interpreter state from autoInterpreterState in last resort. The function now accepts NULL for interp and current_tstate parameters. * test_faulthandler: fix a ResourceWarning when test is interrupted by CTRL+c
-
Victor Stinner authored
Issue #26563: Replace PyMem_Malloc() with PyMem_RawMalloc() in the Windows implementation of os.stat(), since the code is called without holding the GIL.
-
Victor Stinner authored
Issue #26563: Debug hooks on Python memory allocators now raise a fatal error if functions of the PyMem_Malloc() family are called without holding the GIL.
-
Victor Stinner authored
Issue #26564.
-
- 17 Mar, 2016 2 commits
-
-
Martin Panter authored
This reverts most of revision 3092cf163eb4. The change worked on x86 architectures, but did not work on ARM, probably due to extra ABI flags in the ldconfig output.
-
Martin Panter authored
-
- 15 Mar, 2016 15 commits
-
-
Victor Stinner authored
Issue #26538: libregrtest: Fix setup_tests() to keep module.__path__ type (_NamespacePath), don't convert to a list. Add _NamespacePath.__setitem__() method to importlib._bootstrap_external.
-
Victor Stinner authored
-
Victor Stinner authored
Issue #26564.
-
Victor Stinner authored
Issue #26564: _PyObject_DebugDumpAddress() now dumps the traceback where a memory block was allocated on memory block. Use the tracemalloc module to get the traceback.
-
Victor Stinner authored
-
Victor Stinner authored
Issue #26564. Cleanup the code, lineno is never negative.
-
Victor Stinner authored
Issue #26564: * Expose _Py_DumpASCII() and _Py_DumpDecimal() in traceback.h * Change the type of the second _Py_DumpASCII() parameter from int to unsigned long * Rewrite _Py_DumpDecimal() and dump_hexadecimal() to write directly characters in the expected order, avoid the need of reversing the string. * dump_hexadecimal() limits width to the size of the buffer * _Py_DumpASCII() does nothing if the object is not a Unicode string * dump_frame() wrtites "???" as the line number if the line number is negative
-
Victor Stinner authored
-
Victor Stinner authored
Issue #26558.
-
Victor Stinner authored
-
Victor Stinner authored
* Add Lib/test/signalinterproctester.py * Don't disable the garbage collector anymore * Don't use os.fork() with a subprocess to not inherit existing signal handlers or threads: start from a fresh process * Don't use UNIX kill command to send a signal but Python os.kill() * Use a timeout of 10 seconds to wait for the signal instead of 1 second * Always use signal.pause(), instead of time.wait(1), to wait for a signal * Use context manager on subprocess.Popen * remove code to retry on EINTR: it's no more needed since the PEP 475 * remove unused function exit_subprocess() * Cleanup the code
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Robert Collins authored
Patch from Victor van den Elzen.
-
Robert Collins authored
Patch from Victor van den Elzen.
-
- 14 Mar, 2016 5 commits
-
-
Victor Stinner authored
Issue #26558: The debug hook of PyObject_Malloc() now checks that the GIL is held when the function is called.
-
Victor Stinner authored
Issue #10915, #15751, #26558: * PyGILState_Check() now returns 1 (success) before the creation of the GIL and after the destruction of the GIL. It allows to use the function early in Python initialization and late in Python finalization. * Add a flag to disable PyGILState_Check(). Disable PyGILState_Check() when Py_NewInterpreter() is called * Add assert(PyGILState_Check()) to: _Py_dup(), _Py_fstat(), _Py_read() and _Py_write()
-
Victor Stinner authored
Fix regex for parse a pointer address.
-
Victor Stinner authored
-
Victor Stinner authored
Ignore pip warning in test_venv.test_with_venv().
-