Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tracemalloc now supports domains | Victor Stinner | 2016-03-22 | 1 | -6/+39 |
| | | | | | | | | | | | | | | | | | 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 | ||||
* | Optimize bytes.replace(b'', b'.') | Victor Stinner | 2016-03-21 | 1 | -0/+3 |
| | | | | | Issue #26574: Optimize bytes.replace(b'', b'.') and bytearray.replace(b'', b'.'): up to 80% faster. Patch written by Josh Snider. | ||||
* | Merge with 3.5 | Terry Jan Reedy | 2016-03-21 | 1 | -2/+2 |
|\ | |||||
| * | Issue #26525: Change ord example from nu to more easily recognized Euro sign. | Terry Jan Reedy | 2016-03-21 | 1 | -2/+2 |
| | | |||||
* | | Merge with 3.5 | Terry Jan Reedy | 2016-03-21 | 1 | -2/+4 |
|\ \ | |/ | |||||
| * | Issue #15660: Further clarify 0 prefix for width specifier in formats. | Terry Jan Reedy | 2016-03-21 | 1 | -2/+4 |
| | | |||||
* | | Issue #26593: Fix typo in logging HOWTO | Berker Peksag | 2016-03-20 | 1 | -1/+1 |
|\ \ | |/ | | | | | Patch by Andrew Szeto. | ||||
| * | Issue #26593: Fix typo in logging HOWTO | Berker Peksag | 2016-03-20 | 1 | -1/+1 |
| | | | | | | | | Patch by Andrew Szeto. | ||||
* | | Issue #18787: spwd.getspnam() now raises a PermissionError if the user | Berker Peksag | 2016-03-19 | 2 | -0/+5 |
| | | | | | | | | doesn't have privileges. | ||||
* | | Issue #26567: enhance ResourceWarning example | Victor Stinner | 2016-03-19 | 1 | -9/+12 |
| | | |||||
* | | On ResourceWarning, log traceback where the object was allocated | Victor Stinner | 2016-03-19 | 3 | -1/+49 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Merge for issue #26095 | Brett Cannon | 2016-03-18 | 1 | -0/+46 |
|\ \ | |/ | |||||
| * | Suggest people use feature detection in porting guide | Brett Cannon | 2016-03-18 | 1 | -0/+46 |
| | | |||||
* | | Issue #26252: Add an example on how to register a finder | Brett Cannon | 2016-03-18 | 1 | -2/+32 |
| | | |||||
* | | #26250: merge with 3.5. | Ezio Melotti | 2016-03-18 | 1 | -0/+12 |
|\ \ | |/ | |||||
| * | #26250: document the sqlite3.Cursor.connection attribute. Initial patches ↵ | Ezio Melotti | 2016-03-18 | 1 | -0/+12 |
| | | | | | | | | by Aviv Palivoda and Varpu Rantala. | ||||
* | | Doc: fix typos, patch written by Stefan Behnel | Victor Stinner | 2016-03-18 | 3 | -6/+6 |
| | | |||||
* | | Fixed a typo. | Serhiy Storchaka | 2016-03-18 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fixed a typo. | Serhiy Storchaka | 2016-03-18 | 1 | -1/+1 |
| | | |||||
* | | Issue #26580: Remove outdated reference to ftpmirror | Berker Peksag | 2016-03-18 | 1 | -6/+0 |
|\ \ | |/ | | | | | Patch by SilentGhost. | ||||
| * | Issue #26580: Remove outdated reference to ftpmirror | Berker Peksag | 2016-03-18 | 1 | -6/+0 |
| | | | | | | | | Patch by SilentGhost. | ||||
* | | Enhance documentation on malloc debug hooks | Victor Stinner | 2016-03-18 | 3 | -11/+20 |
| | | | | | | | | Issue #26564, #26516, #26563. | ||||
* | | Issue #21042: Revert Linux find_library() to return just filename | Martin Panter | 2016-03-17 | 1 | -7/+4 |
| | | | | | | | | | | | | 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 | 2 | -1/+49 |
| | | | | | | | | | | | | 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. | ||||
* | | Check the GIL in PyObject_Malloc() | Victor Stinner | 2016-03-14 | 2 | -3/+9 |
| | | | | | | | | | | 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 | 3 | -18/+102 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | #24918: merge with 3.5. | Ezio Melotti | 2016-03-13 | 1 | -0/+5 |
|\ \ | |/ | |||||
| * | #24918: fix CSS for code blocks when a side box is present. Patch by Manvi B. | Ezio Melotti | 2016-03-13 | 1 | -0/+5 |
| | | |||||
* | | merge | Raymond Hettinger | 2016-03-13 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Minor recipe edit: convert "while 1" to "while True". | Raymond Hettinger | 2016-03-13 | 1 | -1/+1 |
| | | |||||
* | | #25687: merge with 3.5. | Ezio Melotti | 2016-03-13 | 1 | -4/+6 |
|\ \ | |/ | |||||
| * | #25687: clarify that errors in tearDown increase the total number of ↵ | Ezio Melotti | 2016-03-13 | 1 | -4/+6 |
| | | | | | | | | reported errors. Initial patch by HyeSoo Park. | ||||
* | | merge | Raymond Hettinger | 2016-03-13 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #26548: Minor fix to awkward wording in docs | Raymond Hettinger | 2016-03-13 | 1 | -2/+2 |
| | | |||||
* | | Issue #23606: Adds note to ctypes documentation regarding cdll.msvcrt. | Steve Dower | 2016-03-12 | 1 | -0/+6 |
|\ \ | |/ | |||||
| * | Issue #23606: Adds note to ctypes documentation regarding cdll.msvcrt. | Steve Dower | 2016-03-12 | 1 | -0/+6 |
| | | |||||
* | | Add Mock.assert_called() | Victor Stinner | 2016-03-11 | 2 | -0/+40 |
| | | | | | | | | | | Issue #26323: Add assert_called() and assert_called_once() methods to unittest.mock.Mock. | ||||
* | | Issue #26542: Fix markup of code example in difflib documentation | Berker Peksag | 2016-03-11 | 1 | -5/+3 |
|\ \ | |/ | | | | | Patch by Dmitry Shachnev. | ||||
| * | Issue #26542: Fix markup of code example in difflib documentation | Berker Peksag | 2016-03-11 | 1 | -5/+3 |
| | | | | | | | | Patch by Dmitry Shachnev. | ||||
* | | Merge 3.5 (malloc doc) | Victor Stinner | 2016-03-09 | 1 | -43/+77 |
|\ \ | |/ | |||||
| * | Issue #26516: Enhance Python mem allocators doc | Victor Stinner | 2016-03-09 | 1 | -43/+77 |
| | | | | | | | | | | | | | | * add link to PYTHONMALLOCSTATS env var * add parameters to PyMem macros like PyMem_MALLOC() * fix PyMem_SetupDebugHooks(): add Calloc functions * add some newlines for readability | ||||
* | | Issue #21042: Return full path in ctypes.util.find_library() on Linux | Martin Panter | 2016-03-10 | 1 | -4/+7 |
| | | | | | | | | Patch by Tamás Bence Gedai. | ||||
* | | Issue #15068: Got rid of excessive buffering in fileinput. | Serhiy Storchaka | 2016-03-08 | 1 | -1/+6 |
|\ \ | |/ | | | | | The bufsize parameter is now deprecated and ignored. | ||||
| * | Issue #15068: Got rid of excessive buffering in the fileinput module. | Serhiy Storchaka | 2016-03-08 | 1 | -1/+7 |
| | | | | | | | | The bufsize parameter is no longer used. | ||||
* | | Issue #26505: merge from 3.5 | Ned Deily | 2016-03-07 | 1 | -4/+4 |
|\ \ | |/ | |||||
| * | Issue #26505: Fix typos in getaddrinfo license text. | Ned Deily | 2016-03-07 | 1 | -4/+4 |
| | | | | | | | | Patch by Alex Willmer. | ||||
* | | Issue #24852: Remove outdated "HOWTO Use Python in the web" document | Berker Peksag | 2016-03-07 | 2 | -732/+0 |
|\ \ | |/ | |||||
| * | Issue #24852: Remove outdated "HOWTO Use Python in the web" document | Berker Peksag | 2016-03-07 | 2 | -732/+0 |
| | |