Commit Graph

4042 Commits

Author SHA1 Message Date
Guido van Rossum 71bd363d9c getprogramname -> Py_GetProgramName. 1996-08-19 22:09:38 +00:00
Guido van Rossum 6d43c5de5a Raise TypeError, not KeyError, on unknown keyword argument. 1996-08-19 22:09:16 +00:00
Guido van Rossum 3f3bb3d3c9 Added *PyMarshal_WriteObjectToString() (moved the relevant code there
from marshal_loads()).
1996-08-19 22:07:17 +00:00
Guido van Rossum 49c70a7a4d Added declaration for *PyMarshal_WriteObjectToString(). 1996-08-19 22:05:27 +00:00
Guido van Rossum 8b51d227f6 Add prototypes for c_sum() etc. 1996-08-19 22:04:54 +00:00
Guido van Rossum 8f3032da10 Declare initregex() as returning void, as it should be. 1996-08-19 22:03:12 +00:00
Guido van Rossum 860986812a Remove some unused variables. 1996-08-19 22:02:43 +00:00
Guido van Rossum 2977e5d660 Declare a bunch of internal routines as returning void. 1996-08-19 22:02:19 +00:00
Guido van Rossum 1720230399 Made it palatable for K&R preprocessors. The spam macros don't have
to work as hard (but "stringizing" is still used, so we test the newly
introduced HAVE_OLD_CPP config define).
1996-08-19 22:01:39 +00:00
Guido van Rossum a29756c1dd Recognize *.sl and *.so as library (i.e. linker) arguments 1996-08-19 22:00:05 +00:00
Guido van Rossum 07b983da99 Incorporate LDFLAGS calculated by configure (for --with-readline) 1996-08-19 21:59:32 +00:00
Guido van Rossum 84e7b248f0 The usual... 1996-08-19 21:59:00 +00:00
Guido van Rossum 300fda7a6d Several refinements:
- check for pre-ANSI preprocessor (needed by operator.c)
- SCO_SV shared library support (Lance)
- improved AIX shared library support (Vlad & Manus)
- finally fixed --with-readline=DIRECOTRY, using LDFLAGS
1996-08-19 21:58:16 +00:00
Guido van Rossum 8e09a9ffa9 Add HAVE_OLD_CPP to list of known defines 1996-08-19 21:53:18 +00:00
Guido van Rossum fc8ebb1d3f MACHDEP and regen problem is now taken care of 1996-08-19 21:51:24 +00:00
Guido van Rossum aa35465ccf Support for keyword arguments (PyArg_ParseTupleAndKeywords) donated by
Geoff Philbrick <philbric@delphi.hks.com> (slightly changed by me).

Also a little change to make the file acceptable to K&R C compilers
(HPUX, SunOS 4.x).
1996-08-19 19:32:04 +00:00
Guido van Rossum 926518b683 Changes to make the file acceptable to K&R C compilers (HPUX, SunOS 4.x). 1996-08-19 19:30:45 +00:00
Jack Jansen bf05d4cd6f Fixed command-. handling
Added hacks for GetEventQueue (so you don't have to edit Events.h)
1996-08-19 15:11:45 +00:00
Jack Jansen a06f13dc78 Fixed to work for ppc and cfm68k 1996-08-19 15:10:50 +00:00
Jack Jansen 7e124ea86a Guido:
- define USE_CHECKSTACK
- Comment on defines used
1996-08-19 11:38:54 +00:00
Jack Jansen 499a8afd0f Removed debug printf 1996-08-19 11:38:03 +00:00
Jack Jansen 3bc6fe636a Removed obsolete cfm68k ifdef (Guido) 1996-08-19 11:37:32 +00:00
Jack Jansen 007fa82581 Include config.h 1996-08-19 11:36:59 +00:00
Jack Jansen cfadbd40e1 Guido:
- new SpinCursor (replacing Jack's almost-identical one)
- use GetEventQueue in stead of GetEvQHdr
1996-08-19 11:36:25 +00:00
Jack Jansen 76ceece75a Guido: added some void's to declarations 1996-08-19 11:18:24 +00:00
Jack Jansen 9ff06cea7f Guido: changed __sinit to __initialize for CFM68K. 1996-08-19 11:17:33 +00:00
Jack Jansen cb7f3fc72c Fixes by Guido: HAVE_CONFIG_H, USE_STACKCHECK and
USE_MAC_DYNAMIC_LOADING are no longer needed. Also, WASTE and IMG
removed in some places.
1996-08-19 11:16:32 +00:00
Jack Jansen 32b27f11c1 No USE_MACSPEECH for CFM68K (the interface library appears to be missing) 1996-08-19 11:02:13 +00:00
Jack Jansen 7ac70afed1 Dummy SpinCursor() if __CFM68K__ is defined 1996-08-19 11:01:05 +00:00
Jack Jansen e5649c75f0 Removed {Set,Get}SoundVol (old calls not supported by cfm68k) 1996-08-19 10:59:44 +00:00
Jack Jansen ee8662febd Fixed viewrect/destrect calculation 1996-08-19 10:58:37 +00:00
Guido van Rossum e57c96ee4c site customization hook... 1996-08-17 19:56:26 +00:00
Guido van Rossum bf51afa049 Don't test here for negative number to float power; that belongs in
floatobject.c.
1996-08-16 20:49:17 +00:00
Guido van Rossum 79d96d6bff Don't die in resizestring() on filter(<func>, ""). 1996-08-16 20:44:34 +00:00
Guido van Rossum c13bcca268 Test for negative # to the nonintegral float power here.
Expanded powi() in-line.
1996-08-16 20:42:57 +00:00
Guido van Rossum fe58e3e22c regen for Next 1996-08-16 18:14:41 +00:00
Guido van Rossum 7ffa7617c7 Changes for Windows NT -- this time it works, with Tcl4.1p1 (p1!!!) etc.
- Use ckalloc(), ckfree() everywhere.
- Default FREECAST to (char *).
- Added comment with Tcl/Tk version info.
1996-08-13 21:10:16 +00:00
Guido van Rossum dcc057a793 Added routines to print, format and extract the current, ``live'' stack.
Also added print_list() and format_list() which format the output from
an extract_*() routine.
1996-08-12 23:18:13 +00:00
Guido van Rossum 0dfcf753ad Disable support for access statement 1996-08-12 22:00:53 +00:00
Guido van Rossum aacdc9da75 Define reference count admin debug functions to return void. 1996-08-12 21:32:12 +00:00
Guido van Rossum d86b38003d Added extern declarations for reference count admin debug functions. 1996-08-12 21:31:32 +00:00
Barry Warsaw f67a57efc4 (py-no-outdent-re): Added return, break, raise, continue since we
already outdent for those statements.
1996-08-12 19:52:27 +00:00
Guido van Rossum 8b004d36ed Renamed to pyerrors.h 1996-08-09 23:15:18 +00:00
Guido van Rossum 29901ff528 Some improvements by Fred Drake. 1996-08-09 21:46:34 +00:00
Guido van Rossum eb8d5032b4 Separate .dvi and .ps targets.
More rational destination for texi2html.py.
1996-08-09 21:46:05 +00:00
Guido van Rossum e5e55d784d Added capitalize, capwords, lstrip, rstrip, and optional 3rd argument
to split.  Document new conventions for split(fields) and
join(fields), where the *fields variant is identical to the other.
1996-08-09 21:44:51 +00:00
Guido van Rossum 0b3f9512ac Added capwords, splitx, and optional 3rd argument to split/splitx. 1996-08-09 21:43:21 +00:00
Guido van Rossum 7a7d5d8fcf Use splitx() in capwords() (bugfix after interface change for split()).
Give capwords a default pattern argument which will recognize words as
sequeces of [a-zA-Z0-9_].
1996-08-09 21:32:29 +00:00
Guido van Rossum 12f0cc325a Suggest using default values for __init__ arguments to make classes
unpicklable.
1996-08-09 21:23:47 +00:00
Guido van Rossum 4a5b27b525 Get rid of parrot dropping (spurious 'E') 1996-08-09 21:23:14 +00:00