summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* tracemalloc now supports domainsVictor Stinner2016-03-221-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 Stinner2016-03-211-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.5Terry Jan Reedy2016-03-211-2/+2
|\
| * Issue #26525: Change ord example from nu to more easily recognized Euro sign.Terry Jan Reedy2016-03-211-2/+2
| |
* | Merge with 3.5Terry Jan Reedy2016-03-211-2/+4
|\ \ | |/
| * Issue #15660: Further clarify 0 prefix for width specifier in formats.Terry Jan Reedy2016-03-211-2/+4
| |
* | Issue #26593: Fix typo in logging HOWTOBerker Peksag2016-03-201-1/+1
|\ \ | |/ | | | | Patch by Andrew Szeto.
| * Issue #26593: Fix typo in logging HOWTOBerker Peksag2016-03-201-1/+1
| | | | | | | | Patch by Andrew Szeto.
* | Issue #18787: spwd.getspnam() now raises a PermissionError if the userBerker Peksag2016-03-192-0/+5
| | | | | | | | doesn't have privileges.
* | Issue #26567: enhance ResourceWarning exampleVictor Stinner2016-03-191-9/+12
| |
* | On ResourceWarning, log traceback where the object was allocatedVictor Stinner2016-03-193-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 #26095Brett Cannon2016-03-181-0/+46
|\ \ | |/
| * Suggest people use feature detection in porting guideBrett Cannon2016-03-181-0/+46
| |
* | Issue #26252: Add an example on how to register a finderBrett Cannon2016-03-181-2/+32
| |
* | #26250: merge with 3.5.Ezio Melotti2016-03-181-0/+12
|\ \ | |/
| * #26250: document the sqlite3.Cursor.connection attribute. Initial patches ↵Ezio Melotti2016-03-181-0/+12
| | | | | | | | by Aviv Palivoda and Varpu Rantala.
* | Doc: fix typos, patch written by Stefan BehnelVictor Stinner2016-03-183-6/+6
| |
* | Fixed a typo.Serhiy Storchaka2016-03-181-1/+1
|\ \ | |/
| * Fixed a typo.Serhiy Storchaka2016-03-181-1/+1
| |
* | Issue #26580: Remove outdated reference to ftpmirrorBerker Peksag2016-03-181-6/+0
|\ \ | |/ | | | | Patch by SilentGhost.
| * Issue #26580: Remove outdated reference to ftpmirrorBerker Peksag2016-03-181-6/+0
| | | | | | | | Patch by SilentGhost.
* | Enhance documentation on malloc debug hooksVictor Stinner2016-03-183-11/+20
| | | | | | | | Issue #26564, #26516, #26563.
* | Issue #21042: Revert Linux find_library() to return just filenameMartin Panter2016-03-171-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.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-152-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 Stinner2016-03-142-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 varVictor Stinner2016-03-143-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 Melotti2016-03-131-0/+5
|\ \ | |/
| * #24918: fix CSS for code blocks when a side box is present. Patch by Manvi B.Ezio Melotti2016-03-131-0/+5
| |
* | mergeRaymond Hettinger2016-03-131-1/+1
|\ \ | |/
| * Minor recipe edit: convert "while 1" to "while True".Raymond Hettinger2016-03-131-1/+1
| |
* | #25687: merge with 3.5.Ezio Melotti2016-03-131-4/+6
|\ \ | |/
| * #25687: clarify that errors in tearDown increase the total number of ↵Ezio Melotti2016-03-131-4/+6
| | | | | | | | reported errors. Initial patch by HyeSoo Park.
* | mergeRaymond Hettinger2016-03-131-2/+2
|\ \ | |/
| * Issue #26548: Minor fix to awkward wording in docsRaymond Hettinger2016-03-131-2/+2
| |
* | Issue #23606: Adds note to ctypes documentation regarding cdll.msvcrt.Steve Dower2016-03-121-0/+6
|\ \ | |/
| * Issue #23606: Adds note to ctypes documentation regarding cdll.msvcrt.Steve Dower2016-03-121-0/+6
| |
* | Add Mock.assert_called()Victor Stinner2016-03-112-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 documentationBerker Peksag2016-03-111-5/+3
|\ \ | |/ | | | | Patch by Dmitry Shachnev.
| * Issue #26542: Fix markup of code example in difflib documentationBerker Peksag2016-03-111-5/+3
| | | | | | | | Patch by Dmitry Shachnev.
* | Merge 3.5 (malloc doc)Victor Stinner2016-03-091-43/+77
|\ \ | |/
| * Issue #26516: Enhance Python mem allocators docVictor Stinner2016-03-091-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 LinuxMartin Panter2016-03-101-4/+7
| | | | | | | | Patch by Tamás Bence Gedai.
* | Issue #15068: Got rid of excessive buffering in fileinput.Serhiy Storchaka2016-03-081-1/+6
|\ \ | |/ | | | | The bufsize parameter is now deprecated and ignored.
| * Issue #15068: Got rid of excessive buffering in the fileinput module.Serhiy Storchaka2016-03-081-1/+7
| | | | | | | | The bufsize parameter is no longer used.
* | Issue #26505: merge from 3.5Ned Deily2016-03-071-4/+4
|\ \ | |/
| * Issue #26505: Fix typos in getaddrinfo license text.Ned Deily2016-03-071-4/+4
| | | | | | | | Patch by Alex Willmer.
* | Issue #24852: Remove outdated "HOWTO Use Python in the web" documentBerker Peksag2016-03-072-732/+0
|\ \ | |/
| * Issue #24852: Remove outdated "HOWTO Use Python in the web" documentBerker Peksag2016-03-072-732/+0
| |