summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Add C functions _PyTraceMalloc_Track()Victor Stinner2016-03-221-0/+5
| | | | | | | | Issue #26530: * Add C functions _PyTraceMalloc_Track() and _PyTraceMalloc_Untrack() to track memory blocks using the tracemalloc module. * Add _PyTraceMalloc_GetTraceback() to get the traceback of an object.
* tracemalloc now supports domainsVictor Stinner2016-03-221-0/+3
| | | | | | | | | | | | | | | | | Issue #26588: * The _tracemalloc now supports tracing memory allocations of multiple address spaces (domains). * Add domain parameter to tracemalloc_add_trace() and tracemalloc_remove_trace(). * tracemalloc_add_trace() now starts by removing the previous trace, if any. * _tracemalloc._get_traces() now returns a list of (domain, size, traceback_frames): the domain is new. * Add tracemalloc.DomainFilter * tracemalloc.Filter: add an optional domain parameter to the constructor and a domain attribute * Sublte change: use Py_uintptr_t rather than void* in the traces key. * Add tracemalloc_config.use_domain, currently hardcoded to 1
* Issue #24266: Merge readline Ctrl+C handling from 3.5Martin Panter2016-03-221-0/+3
|\
| * Issue #24266: Cancel history search mode with Ctrl+C in Readline 7Martin Panter2016-03-221-0/+3
| |
* | merge 3.5 (#17167)Benjamin Peterson2016-03-221-1/+1
|\ \ | |/
| * merge 3.4 (#17167)Benjamin Peterson2016-03-221-1/+1
| |\
| | * remove useless $ keyword (closes #17167)Benjamin Peterson2016-03-221-1/+1
| | |
* | | Add socket finalizerVictor Stinner2016-03-211-0/+3
| | | | | | | | | | | | | | | | | | | | | Issue #26590: Implement a safe finalizer for the _socket.socket type. It now releases the GIL to close the socket. Use PyErr_ResourceWarning() to raise the ResourceWarning to pass the socket object to the warning logger, to get the traceback where the socket was created (allocated).
* | | Optimize bytes.replace(b'', b'.')Victor Stinner2016-03-212-0/+4
| | | | | | | | | | | | | | | Issue #26574: Optimize bytes.replace(b'', b'.') and bytearray.replace(b'', b'.'): up to 80% faster. Patch written by Josh Snider.
* | | Issue #26581: Use the first coding cookie on a line, not the last one.Serhiy Storchaka2016-03-201-0/+3
|\ \ \ | |/ /
| * | Issue #26581: Use the first coding cookie on a line, not the last one.Serhiy Storchaka2016-03-201-0/+3
| | |
* | | Issue #18787: spwd.getspnam() now raises a PermissionError if the userBerker Peksag2016-03-191-0/+3
| | | | | | | | | | | | doesn't have privileges.
* | | Issue #26560: Avoid potential ValueError in BaseHandler.start_responseBerker Peksag2016-03-191-0/+3
|\ \ \ | |/ / | | | | | | Initial patch by Peter Inglesby.
| * | Issue #26560: Avoid potential ValueError in BaseHandler.start_responseBerker Peksag2016-03-191-0/+3
| | | | | | | | | | | | Initial patch by Peter Inglesby.
* | | On ResourceWarning, log traceback where the object was allocatedVictor Stinner2016-03-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #26567: * Add a new function PyErr_ResourceWarning() function to pass the destroyed object * Add a source attribute to warnings.WarningMessage * Add warnings._showwarnmsg() which uses tracemalloc to get the traceback where source object was allocated.
* | | #26250: merge with 3.5.Ezio Melotti2016-03-181-0/+1
|\ \ \ | |/ /
| * | #26250: document the sqlite3.Cursor.connection attribute. Initial patches ↵Ezio Melotti2016-03-181-0/+1
| | | | | | | | | | | | by Aviv Palivoda and Varpu Rantala.
* | | Merge for issue #26271Brett Cannon2016-03-182-0/+4
|\ \ \ | |/ /
| * | Issue #26271: Fix the Freeze tool to use variables passed in from theBrett Cannon2016-03-182-0/+4
| | | | | | | | | | | | | | | | | | configure script related to compiler flags. Thanks to Daniel Shaulov for the bug report and patch.
* | | Issue #26313: ssl.py _load_windows_store_certs fails if windows cert store ↵Steve Dower2016-03-171-0/+3
|\ \ \ | |/ / | | | | | | is empty. Patch by Baji.
| * | Issue #26313: ssl.py _load_windows_store_certs fails if windows cert store ↵Steve Dower2016-03-171-0/+3
| | | | | | | | | | | | is empty. Patch by Baji.
* | | Issue #26583: merge from 3.5Ned Deily2016-03-171-0/+3
|\ \ \ | |/ /
| * | Issue #26583: Skip test_timestamp_overflow in test_import if bytecodeNed Deily2016-03-171-0/+3
| | | | | | | | | | | | files cannot be written.
* | | Merge 3.5Victor Stinner2016-03-171-0/+3
|\ \ \ | |/ /
| * | Fix pyclbr to support importing packagesVictor Stinner2016-03-171-0/+3
| | | | | | | | | | | | | | | Issue #26569: Fix pyclbr.readmodule() and pyclbr.readmodule_ex() to support importing packages.
* | | Issue #17603: Merge configure.ac fix from 3.5Martin Panter2016-03-181-0/+3
|\ \ \ | |/ /
| * | Issue #17603: Check for st_blocks field without requiring fileblocks.oMartin Panter2016-03-181-0/+3
| | |
* | | Fail if PyMem_Malloc() is called without holding the GILVictor Stinner2016-03-161-0/+4
| | | | | | | | | | | | | | | 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.
* | | Issue #21042: Revert Linux find_library() to return just filenameMartin Panter2016-03-171-3/+0
| | | | | | | | | | | | | | | | | | 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.
* | | Issue #26499: Merge HTTPResponse fix from 3.5Martin Panter2016-03-171-0/+4
|\ \ \ | |/ /
| * | Issue #26499: Fixes to HTTPResponse.readline() and read1(), by Silent GhostMartin Panter2016-03-171-0/+4
| | |
* | | On memory error, dump the memory block tracebackVictor Stinner2016-03-151-0/+4
| | | | | | | | | | | | | | | | | | 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.
* | | Issue #26523: The multiprocessing thread pool (multiprocessing.dummy.Pool) ↵Antoine Pitrou2016-03-151-0/+3
|\ \ \ | |/ / | | | | | | was untested.
| * | Issue #26523: The multiprocessing thread pool (multiprocessing.dummy.Pool) ↵Antoine Pitrou2016-03-151-0/+3
| | | | | | | | | | | | was untested.
* | | #25320: Handle sockets in directories unittest discovery is scanning.Robert Collins2016-03-152-0/+4
|\ \ \ | |/ / | | | | | | Patch from Victor van den Elzen.
| * | #25320: Handle sockets in directories unittest discovery is scanning.Robert Collins2016-03-152-0/+4
| | | | | | | | | | | | Patch from Victor van den Elzen.
* | | Check the GIL in PyObject_Malloc()Victor Stinner2016-03-141-0/+4
| | | | | | | | | | | | | | | Issue #26558: The debug hook of PyObject_Malloc() now checks that the GIL is held when the function is called.
* | | Add PYTHONMALLOC env varVictor Stinner2016-03-142-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #26516: * Add PYTHONMALLOC environment variable to set the Python memory allocators and/or install debug hooks. * PyMem_SetupDebugHooks() can now also be used on Python compiled in release mode. * The PYTHONMALLOCSTATS environment variable can now also be used on Python compiled in release mode. It now has no effect if set to an empty string. * In debug mode, debug hooks are now also installed on Python memory allocators when Python is configured without pymalloc.
* | | Issue #16181: cookiejar.http2time() now returns None if year is higher than ↵Berker Peksag2016-03-141-0/+3
|\ \ \ | |/ / | | | | | | datetime.MAXYEAR
| * | Issue #16181: cookiejar.http2time() now returns None if year is higher than ↵Berker Peksag2016-03-141-0/+3
| | | | | | | | | | | | datetime.MAXYEAR
* | | #24918: merge with 3.5.Ezio Melotti2016-03-131-0/+1
|\ \ \ | |/ /
| * | #24918: fix CSS for code blocks when a side box is present. Patch by Manvi B.Ezio Melotti2016-03-131-0/+1
| | |
* | | #25687: merge with 3.5.Ezio Melotti2016-03-131-0/+1
|\ \ \ | |/ /
| * | #25687: clarify that errors in tearDown increase the total number of ↵Ezio Melotti2016-03-131-0/+1
| | | | | | | | | | | | reported errors. Initial patch by HyeSoo Park.
* | | Issue #26079: Fixing the build output folder for tix-8.4.3.6. Patch by ↵Steve Dower2016-03-121-0/+3
|\ \ \ | |/ / | | | | | | Bjoern Thiel.
| * | Issue #26079: Fixing the build output folder for tix-8.4.3.6. Patch by ↵Steve Dower2016-03-121-0/+3
| | | | | | | | | | | | Bjoern Thiel.
* | | Issue #23606: Adds note to ctypes documentation regarding cdll.msvcrt.Steve Dower2016-03-121-0/+2
|\ \ \ | |/ /
| * | Issue #23606: Adds note to ctypes documentation regarding cdll.msvcrt.Steve Dower2016-03-121-0/+2
| | |
* | | Issue #26513: Fixes platform module detection of Windows ServerSteve Dower2016-03-121-0/+2
|\ \ \ | |/ /
| * | Issue #26513: Fixes platform module detection of Windows ServerSteve Dower2016-03-121-0/+2
| | |