Commit Graph

20 Commits

Author SHA1 Message Date
Guido van Rossum b18618dab7 Vladimir Marangozov's long-awaited malloc restructuring.
For more comments, read the patches@python.org archives.
For documentation read the comments in mymalloc.h and objimpl.h.

(This is not exactly what Vladimir posted to the patches list; I've
made a few changes, and Vladimir sent me a fix in private email for a
problem that only occurs in debug mode.  I'm also holding back on his
change to main.c, which seems unnecessary to me.)
2000-05-03 23:44:39 +00:00
Guido van Rossum 43713e5a28 Massive patch by Skip Montanaro to add ":name" to as many
PyArg_ParseTuple() format string arguments as possible.
2000-02-29 13:59:29 +00:00
Guido van Rossum 3886bb6997 Add DL_EXPORT() to all modules that could possibly be used
on BeOS or Windows.
1998-12-04 18:50:17 +00:00
Guido van Rossum d076c73cc8 Changes to support other object types besides strings
as the code string of code objects, as long as they support
the (readonly) buffer interface.  By Greg Stein.
1998-10-07 19:42:25 +00:00
Guido van Rossum 7859f87fdb Marc-Andre Lemburg's patch to support instance methods with other
callable objects than regular Pythonm functions as their im_func.
1998-07-08 14:58:16 +00:00
Guido van Rossum b88679b2a4 I think there was a tiny bug in new_function() -- the 'defaults'
argument was initialized to Py_None, but later checked for NULL.
Consistently use Py_None.
1998-05-22 00:57:31 +00:00
Guido van Rossum 463e55a916 Two more arguments to newcodeobject -- first lineno and lineno table. 1997-01-24 03:58:52 +00:00
Guido van Rossum e9fd28dae5 Add stacksize argument to new.code(). 1997-01-17 21:12:06 +00:00
Barry Warsaw a6b7c7146c Renamed. 1996-12-10 16:25:56 +00:00
Guido van Rossum b916faf66a Upgraded new.function() contributed by Tommy. Also got rid of #if 0'ed code. 1996-11-21 16:02:12 +00:00
Guido van Rossum d266eb460e New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
Guido van Rossum 26b310a3fd Added new.instance(class, dict). 1996-06-17 16:56:56 +00:00
Guido van Rossum b28911cdef added new.classobj() 1996-01-12 01:38:22 +00:00
Guido van Rossum 896fc7ed4a re-enable new.code(...) with new args 1995-09-30 17:01:02 +00:00
Guido van Rossum b158909b45 \temporary 'fix' for brokenness 1995-07-28 16:44:53 +00:00
Guido van Rossum cd938fc5a1 Made some more things static, and other cleanup for new naming scheme 1995-01-17 16:13:48 +00:00
Guido van Rossum 37431fbbd0 initmodule3 -> initmodule3 1995-01-09 17:49:26 +00:00
Guido van Rossum f9888eb2fb totally revamped 1995-01-07 11:50:36 +00:00
Guido van Rossum 5e8e8327f8 don't use backslashes for continuation lines 1994-11-10 22:49:52 +00:00
Guido van Rossum 34162a123a Added some new modules 1994-05-23 12:37:57 +00:00