Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add C functions _PyTraceMalloc_Track() | Victor Stinner | 2016-03-22 | 1 | -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 domains | Victor Stinner | 2016-03-22 | 1 | -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.5 | Martin Panter | 2016-03-22 | 1 | -0/+3 |
|\ | |||||
| * | Issue #24266: Cancel history search mode with Ctrl+C in Readline 7 | Martin Panter | 2016-03-22 | 1 | -0/+3 |
| | | |||||
* | | merge 3.5 (#17167) | Benjamin Peterson | 2016-03-22 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | merge 3.4 (#17167) | Benjamin Peterson | 2016-03-22 | 1 | -1/+1 |
| |\ | |||||
| | * | remove useless $ keyword (closes #17167) | Benjamin Peterson | 2016-03-22 | 1 | -1/+1 |
| | | | |||||
* | | | Add socket finalizer | Victor Stinner | 2016-03-21 | 1 | -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 Stinner | 2016-03-21 | 2 | -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 Storchaka | 2016-03-20 | 1 | -0/+3 |
|\ \ \ | |/ / | |||||
| * | | Issue #26581: Use the first coding cookie on a line, not the last one. | Serhiy Storchaka | 2016-03-20 | 1 | -0/+3 |
| | | | |||||
* | | | Issue #18787: spwd.getspnam() now raises a PermissionError if the user | Berker Peksag | 2016-03-19 | 1 | -0/+3 |
| | | | | | | | | | | | | doesn't have privileges. | ||||
* | | | Issue #26560: Avoid potential ValueError in BaseHandler.start_response | Berker Peksag | 2016-03-19 | 1 | -0/+3 |
|\ \ \ | |/ / | | | | | | | Initial patch by Peter Inglesby. | ||||
| * | | Issue #26560: Avoid potential ValueError in BaseHandler.start_response | Berker Peksag | 2016-03-19 | 1 | -0/+3 |
| | | | | | | | | | | | | Initial patch by Peter Inglesby. | ||||
* | | | On ResourceWarning, log traceback where the object was allocated | Victor Stinner | 2016-03-19 | 1 | -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 Melotti | 2016-03-18 | 1 | -0/+1 |
|\ \ \ | |/ / | |||||
| * | | #26250: document the sqlite3.Cursor.connection attribute. Initial patches ↵ | Ezio Melotti | 2016-03-18 | 1 | -0/+1 |
| | | | | | | | | | | | | by Aviv Palivoda and Varpu Rantala. | ||||
* | | | Merge for issue #26271 | Brett Cannon | 2016-03-18 | 2 | -0/+4 |
|\ \ \ | |/ / | |||||
| * | | Issue #26271: Fix the Freeze tool to use variables passed in from the | Brett Cannon | 2016-03-18 | 2 | -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 Dower | 2016-03-17 | 1 | -0/+3 |
|\ \ \ | |/ / | | | | | | | is empty. Patch by Baji. | ||||
| * | | Issue #26313: ssl.py _load_windows_store_certs fails if windows cert store ↵ | Steve Dower | 2016-03-17 | 1 | -0/+3 |
| | | | | | | | | | | | | is empty. Patch by Baji. | ||||
* | | | Issue #26583: merge from 3.5 | Ned Deily | 2016-03-17 | 1 | -0/+3 |
|\ \ \ | |/ / | |||||
| * | | Issue #26583: Skip test_timestamp_overflow in test_import if bytecode | Ned Deily | 2016-03-17 | 1 | -0/+3 |
| | | | | | | | | | | | | files cannot be written. | ||||
* | | | Merge 3.5 | Victor Stinner | 2016-03-17 | 1 | -0/+3 |
|\ \ \ | |/ / | |||||
| * | | Fix pyclbr to support importing packages | Victor Stinner | 2016-03-17 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | Issue #26569: Fix pyclbr.readmodule() and pyclbr.readmodule_ex() to support importing packages. | ||||
* | | | Issue #17603: Merge configure.ac fix from 3.5 | Martin Panter | 2016-03-18 | 1 | -0/+3 |
|\ \ \ | |/ / | |||||
| * | | Issue #17603: Check for st_blocks field without requiring fileblocks.o | Martin Panter | 2016-03-18 | 1 | -0/+3 |
| | | | |||||
* | | | Fail if PyMem_Malloc() is called without holding the GIL | Victor Stinner | 2016-03-16 | 1 | -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 filename | Martin Panter | 2016-03-17 | 1 | -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.5 | Martin Panter | 2016-03-17 | 1 | -0/+4 |
|\ \ \ | |/ / | |||||
| * | | Issue #26499: Fixes to HTTPResponse.readline() and read1(), by Silent Ghost | Martin Panter | 2016-03-17 | 1 | -0/+4 |
| | | | |||||
* | | | On memory error, dump the memory block traceback | Victor Stinner | 2016-03-15 | 1 | -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 Pitrou | 2016-03-15 | 1 | -0/+3 |
|\ \ \ | |/ / | | | | | | | was untested. | ||||
| * | | Issue #26523: The multiprocessing thread pool (multiprocessing.dummy.Pool) ↵ | Antoine Pitrou | 2016-03-15 | 1 | -0/+3 |
| | | | | | | | | | | | | was untested. | ||||
* | | | #25320: Handle sockets in directories unittest discovery is scanning. | Robert Collins | 2016-03-15 | 2 | -0/+4 |
|\ \ \ | |/ / | | | | | | | Patch from Victor van den Elzen. | ||||
| * | | #25320: Handle sockets in directories unittest discovery is scanning. | Robert Collins | 2016-03-15 | 2 | -0/+4 |
| | | | | | | | | | | | | Patch from Victor van den Elzen. | ||||
* | | | Check the GIL in PyObject_Malloc() | Victor Stinner | 2016-03-14 | 1 | -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 var | Victor Stinner | 2016-03-14 | 2 | -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 Peksag | 2016-03-14 | 1 | -0/+3 |
|\ \ \ | |/ / | | | | | | | datetime.MAXYEAR | ||||
| * | | Issue #16181: cookiejar.http2time() now returns None if year is higher than ↵ | Berker Peksag | 2016-03-14 | 1 | -0/+3 |
| | | | | | | | | | | | | datetime.MAXYEAR | ||||
* | | | #24918: merge with 3.5. | Ezio Melotti | 2016-03-13 | 1 | -0/+1 |
|\ \ \ | |/ / | |||||
| * | | #24918: fix CSS for code blocks when a side box is present. Patch by Manvi B. | Ezio Melotti | 2016-03-13 | 1 | -0/+1 |
| | | | |||||
* | | | #25687: merge with 3.5. | Ezio Melotti | 2016-03-13 | 1 | -0/+1 |
|\ \ \ | |/ / | |||||
| * | | #25687: clarify that errors in tearDown increase the total number of ↵ | Ezio Melotti | 2016-03-13 | 1 | -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 Dower | 2016-03-12 | 1 | -0/+3 |
|\ \ \ | |/ / | | | | | | | Bjoern Thiel. | ||||
| * | | Issue #26079: Fixing the build output folder for tix-8.4.3.6. Patch by ↵ | Steve Dower | 2016-03-12 | 1 | -0/+3 |
| | | | | | | | | | | | | Bjoern Thiel. | ||||
* | | | Issue #23606: Adds note to ctypes documentation regarding cdll.msvcrt. | Steve Dower | 2016-03-12 | 1 | -0/+2 |
|\ \ \ | |/ / | |||||
| * | | Issue #23606: Adds note to ctypes documentation regarding cdll.msvcrt. | Steve Dower | 2016-03-12 | 1 | -0/+2 |
| | | | |||||
* | | | Issue #26513: Fixes platform module detection of Windows Server | Steve Dower | 2016-03-12 | 1 | -0/+2 |
|\ \ \ | |/ / | |||||
| * | | Issue #26513: Fixes platform module detection of Windows Server | Steve Dower | 2016-03-12 | 1 | -0/+2 |
| | | |