Commit Graph

22 Commits

Author SHA1 Message Date
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