Tim Peters
af3e8de580
First stab at rationalizing the PyMem_ API. Mixing PyObject_xyz with
...
PyMem_{Del, DEL} doesn't work yet (compilation problems).
pyport.h: _PyMem_EXTRA is gone.
pmem.h: Repaired comments. PyMem_{Malloc, MALLOC} and
PyMem_{Realloc, REALLOC} now make the same x-platform guarantees when
asking for 0 bytes, and when passing a NULL pointer to the latter.
object.c: PyMem_{Malloc, Realloc} just call their macro versions
now, since the latter take care of the x-platform 0 and NULL stuff
by themselves now.
pypcre.c, grow_stack(): So sue me. On two lines, this called
PyMem_RESIZE to grow a "const" area. It's not legit to realloc a
const area, so the compiler warned given the new expansion of
PyMem_RESIZE. It would have gotten the same warning before if it
had used PyMem_Resize() instead; the older macro version, but not the
function version, silently cast away the constness. IMO that was a wrong
thing to do, and the docs say the macro versions of PyMem_xyz are
deprecated anyway. If somebody else is resizing const areas with the
macro spelling, they'll get a warning when they recompile now too.
2002-04-12 07:22:56 +00:00
..
2002-02-13 07:47:16 +00:00
2002-01-17 23:15:58 +00:00
2002-03-31 14:55:17 +00:00
2002-01-30 15:39:28 +00:00
2002-03-20 21:32:07 +00:00
2002-03-27 18:49:02 +00:00
2002-03-31 15:46:00 +00:00
2002-02-16 18:23:30 +00:00
2002-04-01 14:28:58 +00:00
2002-03-31 14:44:22 +00:00
2001-10-23 21:12:47 +00:00
2000-06-30 16:09:01 +00:00
2001-12-06 19:04:35 +00:00
2001-12-08 18:02:58 +00:00
2001-02-16 03:24:50 +00:00
2002-04-12 02:44:10 +00:00
2002-01-17 23:15:58 +00:00
2001-12-19 04:41:35 +00:00
2002-03-31 15:43:28 +00:00
1999-12-16 17:52:08 +00:00
2002-01-17 23:15:58 +00:00
2002-04-04 22:55:58 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2002-04-02 18:26:33 +00:00
2002-04-01 03:45:06 +00:00
2001-08-30 00:12:32 +00:00
2002-04-05 19:30:08 +00:00
2002-03-31 15:27:00 +00:00
2002-04-04 17:52:50 +00:00
2000-09-01 23:29:29 +00:00
2002-03-03 02:59:16 +00:00
2002-03-31 15:43:28 +00:00
2002-01-26 17:58:02 +00:00
2002-03-03 02:59:16 +00:00
2002-03-31 15:56:56 +00:00
2002-03-31 14:57:24 +00:00
2002-02-01 15:46:29 +00:00
2002-01-17 23:15:58 +00:00
2002-04-12 02:41:03 +00:00
2001-12-08 18:02:58 +00:00
2001-12-02 10:15:37 +00:00
2001-12-04 01:11:32 +00:00
2001-12-02 10:15:37 +00:00
2002-01-12 11:05:12 +00:00
2000-09-01 23:29:29 +00:00
2002-03-01 10:38:44 +00:00
2002-04-02 18:26:33 +00:00
2002-03-31 15:43:28 +00:00
1997-09-03 00:45:30 +00:00
2001-02-16 03:27:35 +00:00
1997-09-28 05:52:41 +00:00
2002-01-12 11:05:12 +00:00
2002-03-03 02:59:16 +00:00
2002-03-29 18:00:19 +00:00
1998-04-09 21:46:02 +00:00
2001-09-06 08:16:17 +00:00
2000-09-26 05:46:01 +00:00
2001-09-24 17:14:40 +00:00
2002-03-31 15:27:00 +00:00
2002-03-08 05:43:32 +00:00
2002-04-01 01:37:14 +00:00
2002-01-15 19:21:05 +00:00
2002-03-31 15:27:00 +00:00
2002-04-04 17:52:50 +00:00
2001-12-08 18:02:58 +00:00
1998-05-07 15:32:44 +00:00
2000-06-28 20:56:30 +00:00
2002-01-17 23:15:58 +00:00
2002-04-03 01:47:00 +00:00
2002-01-17 23:15:58 +00:00
2002-03-31 15:27:00 +00:00
2002-03-20 21:32:07 +00:00
2002-04-12 07:22:56 +00:00
2000-07-22 23:57:55 +00:00
2002-03-31 16:13:39 +00:00
2002-03-31 15:27:00 +00:00
2001-07-15 18:38:47 +00:00
2000-07-16 12:04:32 +00:00
2002-04-08 21:28:20 +00:00
2002-03-31 15:27:00 +00:00
2002-03-31 15:27:00 +00:00
2002-04-01 14:53:37 +00:00
2001-08-30 00:13:38 +00:00
2002-04-04 17:52:50 +00:00
2002-04-02 18:26:33 +00:00
2002-04-01 14:30:50 +00:00
2002-03-31 15:27:00 +00:00
2002-04-12 02:44:10 +00:00
2002-03-01 08:31:07 +00:00
2001-07-02 16:58:38 +00:00
2002-03-18 18:46:14 +00:00
2002-04-02 18:17:57 +00:00
2002-04-02 18:17:57 +00:00
2002-03-31 15:27:00 +00:00
2002-01-17 23:15:58 +00:00
2001-12-06 14:34:58 +00:00
2002-04-01 14:53:37 +00:00
2000-07-21 06:00:07 +00:00
2002-03-03 02:59:16 +00:00
2001-06-16 08:10:13 +00:00
2002-04-07 06:32:21 +00:00
2002-04-11 20:46:23 +00:00
1996-01-26 21:10:22 +00:00
2002-03-31 14:57:24 +00:00
2001-12-09 23:15:56 +00:00
2001-01-21 22:41:08 +00:00
2002-04-03 21:39:26 +00:00
2001-01-21 22:41:08 +00:00
2001-12-08 18:02:58 +00:00
2002-04-09 12:50:13 +00:00
2002-03-28 15:49:54 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2002-04-01 14:53:37 +00:00