Commit Graph

34 Commits

Author SHA1 Message Date
Marti Raudsepp 04a6af2ab1 Fix various typos, spelling and grammar errors
Errors detected using Topy (https://github.com/intgr/topy), all changes
verified by hand.
2016-07-11 18:35:35 +03:00
Victor Stinner 0a513228dc PEP 445 has been implemented 2013-10-13 16:10:58 +02:00
Antoine Pitrou e3b37523b4 ... and mark myself as delegate 2013-07-06 22:57:08 +02:00
Antoine Pitrou 9ebab6c186 Mark accepted 2013-07-06 22:56:39 +02:00
Antoine Pitrou 722bcf3c16 Some tweaks 2013-07-06 22:48:32 +02:00
Victor Stinner 1506fc7c5b PEP 445: fix typo 2013-07-03 00:44:58 +02:00
Victor Stinner 06c2d930d6 PEP 445: explain why External Libraries and Memory Allocators sections are present 2013-07-01 23:15:45 +02:00
Victor Stinner e1d30cc03e PEP 445: rephrase abstract
Remove also a wrong sentence: using the same prototypes than external libraries
is not a must-have. In fact, it was neither a guideline for this PEP, but just
an inspiration.
2013-07-01 22:44:48 +02:00
Victor Stinner 03210e6ffd PEP 445: cleanup
Avoid "should", "may" and "might". Rephrase some sentences
2013-07-01 22:29:08 +02:00
Victor Stinner 16b2b8f19e PEP 445: take into account Antoine Pitrou's remarks 2013-06-28 22:39:29 +02:00
Victor Stinner 41306e137b PEP 445: add "Redesign Debug Checks on Memory Allocators as Hooks" section 2013-06-23 14:34:11 +02:00
Victor Stinner 5e32d4908d PEP 445: fix hook_malloc() in example 3
Add missing declaration "void *ptr;"
2013-06-23 02:28:37 +02:00
Victor Stinner 5ad57e290b PEP 445: fix examples 2013-06-20 23:55:57 +02:00
Victor Stinner ef6da7e6df PEP 445: Rename domains: PYMEM_DOMAIN_RAW, PYMEM_DOMAIN_MEM, PYMEM_DOMAIN_OBJ 2013-06-20 23:42:27 +02:00
Victor Stinner 682a7fe994 PEP 445:
* add PyMemAllocatorDomain enum: PYALLOC_PYMEM_RAW, PYALLOC_PYMEM or
   PYALLOC_PYOBJECT
 * rename:

   - PyMemBlockAllocator structure => PyMemAllocator
   - PyMem_GetMappingAllocator() => PyObject_GetArenaAllocator()
   - PyMemMappingAllocator structure => PyObjectArenaAllocator
   - PyMem_SetMappingAllocator() => PyObject_SetArenaAllocator()

 * group get/set functions to only keep 2 functions:
   PyMem_GetAllocator() and PyMem_SetAllocator()
 * PyMem_RawMalloc(0) now calls malloc(1) to have a well defined behaviour
 * PYALLOC_PYMEM_RAW and PYALLOC_PYMEM are now using exactly the same allocator
 * Add more references for external libraries
2013-06-20 13:20:58 +02:00
Victor Stinner fdb230409c PEP 445 2013-06-18 22:33:41 +02:00
Victor Stinner d197160016 PEP 445 2013-06-18 22:18:21 +02:00
Victor Stinner 4224eb6777 typo 2013-06-18 22:07:52 +02:00
Victor Stinner d1c9cb312b PEP 445: textwidth=72 (for email) 2013-06-18 22:05:17 +02:00
Victor Stinner 2d81cffb61 PEP 445 2013-06-18 21:59:48 +02:00
Victor Stinner 5cfe3ed35f PEP 445 2013-06-18 21:04:34 +02:00
Victor Stinner 69f972bb2b PEP 445 2013-06-18 14:14:17 +02:00
Victor Stinner 4cd865a624 PEP 445 2013-06-18 03:00:17 +02:00
Victor Stinner f5879af95b PEP 445 2013-06-18 02:46:10 +02:00
Victor Stinner d52f6c09ed PEP 445: background 2013-06-18 02:02:27 +02:00
Victor Stinner 45a9397c0d PEP 445 2013-06-18 01:52:14 +02:00
Victor Stinner c3ae1b4d51 PEP 445: cleanup and inline examples 2013-06-18 01:30:05 +02:00
Victor Stinner e2168ebe67 PEP 0445: examples 2013-06-18 01:02:16 +02:00
Victor Stinner ddb6760c17 PEP 445: reorder 2013-06-16 04:03:15 +02:00
Victor Stinner 5ae891a353 PEP 445 2013-06-16 04:01:00 +02:00
Victor Stinner 28d184fcff PEP 445: more background 2013-06-16 03:49:29 +02:00
Brett Cannon 36d2f33ef1 fix spelling 2013-06-15 12:28:29 -04:00
Victor Stinner 8ec9c98ef6 PEP 445: fix typo 2013-06-15 04:25:42 +02:00
Victor Stinner f22e1a0a70 PEP 445: Add new APIs to customize memory allocators 2013-06-15 04:24:25 +02:00