cpython/Modules/clinic
Huon Wilson 3c7609a23c
[3.9] bpo-40630: Add tracemalloc.reset_peak (GH-20102) (GH-20545)
* bpo-40630: Add tracemalloc.reset_peak (GH-20102, cherrypick 8b62644)

The reset_peak function sets the peak memory size to the current size,
representing a resetting of that metric. This allows for recording the
peak of specific sections of code, ignoring other code that may have
had a higher peak (since the most recent `tracemalloc.start()` or
tracemalloc.clear_traces()` call).

* Adjust docs to point to 3.9
2020-06-01 19:26:22 +02:00
..
_abc.c.h
_asynciomodule.c.h bpo-31033: Improve the traceback for cancelled asyncio tasks (GH-19951) 2020-05-17 22:47:31 -07:00
_bisectmodule.c.h bpo-40665: Use Argument Clinic for the bisect module (GH-20163) 2020-05-17 20:38:35 -07:00
_bz2module.c.h
_codecsmodule.c.h
_collectionsmodule.c.h
_contextvarsmodule.c.h
_cryptmodule.c.h
_curses_panel.c.h
_cursesmodule.c.h
_datetimemodule.c.h bpo-24416: Return named tuple from date.isocalendar() (GH-20113) 2020-05-16 10:02:59 -04:00
_dbmmodule.c.h
_elementtree.c.h bpo-39822: Use NULL instead of None for empty attrib in Element. (GH-18735) 2020-03-09 15:12:41 +02:00
_gdbmmodule.c.h
_hashopenssl.c.h [3.9] bpo-40791: Use CRYPTO_memcmp() for compare_digest (GH-20456) (GH-20461) 2020-05-28 05:09:38 -07:00
_heapqmodule.c.h
_lzmamodule.c.h
_opcode.c.h
_operator.c.h
_pickle.c.h bpo-39435: Make the first argument of pickle.loads() positional-only. (GH-19846) 2020-05-02 09:38:01 +03:00
_queuemodule.c.h
_randommodule.c.h bpo-40286: Remove C implementation of Random.randbytes() (GH-19797) 2020-04-29 18:49:00 +02:00
_sre.c.h
_ssl.c.h
_statisticsmodule.c.h
_struct.c.h
_testmultiphase.c.h bpo-38787: C API for module state access from extension methods (PEP 573) (GH-19936) 2020-05-07 15:39:59 +02:00
_tkinter.c.h
_tracemalloc.c.h [3.9] bpo-40630: Add tracemalloc.reset_peak (GH-20102) (GH-20545) 2020-06-01 19:26:22 +02:00
_weakref.c.h
_winapi.c.h
arraymodule.c.h bpo-36346: array: Don't use deprecated APIs (GH-19653) 2020-05-11 15:37:25 +09:00
audioop.c.h
binascii.c.h
cmathmodule.c.h
fcntlmodule.c.h
gcmodule.c.h
grpmodule.c.h
itertoolsmodule.c.h
mathmodule.c.h
md5module.c.h
posixmodule.c.h bpo-40549: posixmodule.c uses defining_class (GH-20075) 2020-05-14 18:05:58 +02:00
pwdmodule.c.h
pyexpat.c.h
resource.c.h
selectmodule.c.h bpo-38580: Document that select() accepts iterables, not just sequences (GH-16832) 2020-05-26 06:38:18 -07:00
sha1module.c.h
sha256module.c.h
sha512module.c.h
signalmodule.c.h
spwdmodule.c.h
symtablemodule.c.h
unicodedata.c.h
zlibmodule.c.h