Commit Graph

15 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 b760923b20 Got rid of 68k-Mac and other outdated ifdefs. 2001-08-07 15:30:23 +00:00
Jack Jansen 9ae898b415 ANSIfication step 2: make sure all needed prototypes are available, and all needed
header files included.
2000-07-11 21:16:03 +00:00
Jack Jansen e79dc76f53 Made the core toolbox modules carbon-compatible using the new greylist feature of bgen: non-carbon methods are still included in non-carbon MacPython. The issue of backward compatibility of Python code is still open.
Macmodule and macosmodule have also been carbonified. Some functionality is still missing there.
2000-06-02 21:35:07 +00:00
Jack Jansen 55e3927f58 New exception interface 1997-10-07 21:47:25 +00:00
Jack Jansen eeccca9bdc - Changed the m# format for PyArg_ParseTuple back to s#
- c2pstr has moved to a different include file
1997-05-07 15:46:31 +00:00
Jack Jansen 4a8c54e6d9 - Changed GestaltEqu.h to Gestalt.h
- Changed FragLoader.h to CodeFragments.h
- Removed Desk.h
- Regenerated bgen modules from new universal headers
- Changed some of the s# in PyArg_ParseTuple to m# (unfortunately:
  this should have been a different commit)
1997-02-24 13:56:59 +00:00
Jack Jansen 42218ce33c Added/updated copyright notices
(and the &*^$%@ resource files got binhexed again, sigh)
1997-01-31 16:15:11 +00:00
Jack Jansen f5c20575cb Renamed 1997-01-30 15:48:07 +00:00
Guido van Rossum 0374771cc7 remove some unused local variables 1995-03-04 22:39:03 +00:00
Guido van Rossum 99546997f6 1995 copyright 1995-01-08 14:33:34 +00:00
Jack Jansen 114ca5c170 - Added Version method
- Now gives new mac exceptions
- Ported to PowerPC Mac and CodeWarrior
1994-12-14 13:34:35 +00:00
Guido van Rossum 3a80c8defe Add files by Jack 1994-10-02 11:33:59 +00:00