Commit Graph

9 Commits

Author SHA1 Message Date
Jeremy Hylton 938ace69a0 staticforward bites the dust.
The staticforward define was needed to support certain broken C
compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the
static keyword when it was used with a forward declaration of a static
initialized structure.  Standard C allows the forward declaration with
static, and we've decided to stop catering to broken C compilers.  (In
fact, we expect that the compilers are all fixed eight years later.)

I'm leaving staticforward and statichere defined in object.h as
static.  This is only for backwards compatibility with C extensions
that might still use it.

XXX I haven't updated the documentation.
2002-07-17 16:30:39 +00:00
Jack Jansen 0e2f798301 Replaced lots of PyMem_DEL() calls with PyObject_DEL(). 2002-05-22 14:31:48 +00:00
Guido van Rossum 146483964e Patch supplied by Burton Radons for his own SF bug #487390: Modifying
type.__module__ behavior.

This adds the module name and a dot in front of the type name in every
type object initializer, except for built-in types (and those that
already had this).  Note that it touches lots of Mac modules -- I have
no way to test these but the changes look right.  Apologies if they're
not.  This also touches the weakref docs, which contains a sample type
object initializer.  It also touches the mmap test output, because the
mmap type's repr is included in that output.  It touches object.h to
put the correct description in a comment.
2001-12-08 18:02:58 +00:00
Jack Jansen b88b0bce2a ANSIfied. 2000-07-31 22:07:49 +00:00
Jack Jansen 75e62f2201 Allow for 12 arguments max, in stead of 8. Untested. 1999-12-03 23:35:47 +00:00
Jack Jansen 1b5b37f616 Updated to Universal Headers 3 constant names 1998-02-20 15:55:30 +00:00
Jack Jansen e8b9b9f15b Added keys() and mapping interface to shared-library objects, allowing
iteration over all symbols exported
1997-05-23 15:36:13 +00:00
Jack Jansen e0e1f1a25d Redid arg/return handling (still not as I would like it to be, though). 1997-02-20 15:18:32 +00:00
Jack Jansen b3928d2ffd An initial stab at calling random C routines from Python 1997-02-17 16:56:56 +00:00