]> granicus.if.org Git - python/log
python
28 years agoAdded declaration for *PyMarshal_WriteObjectToString().
Guido van Rossum [Mon, 19 Aug 1996 22:05:27 +0000 (22:05 +0000)]
Added declaration for *PyMarshal_WriteObjectToString().

28 years agoAdd prototypes for c_sum() etc.
Guido van Rossum [Mon, 19 Aug 1996 22:04:54 +0000 (22:04 +0000)]
Add prototypes for c_sum() etc.

28 years agoDeclare initregex() as returning void, as it should be.
Guido van Rossum [Mon, 19 Aug 1996 22:03:12 +0000 (22:03 +0000)]
Declare initregex() as returning void, as it should be.

28 years agoRemove some unused variables.
Guido van Rossum [Mon, 19 Aug 1996 22:02:43 +0000 (22:02 +0000)]
Remove some unused variables.

28 years agoDeclare a bunch of internal routines as returning void.
Guido van Rossum [Mon, 19 Aug 1996 22:02:19 +0000 (22:02 +0000)]
Declare a bunch of internal routines as returning void.

28 years agoMade it palatable for K&R preprocessors. The spam macros don't have
Guido van Rossum [Mon, 19 Aug 1996 22:01:39 +0000 (22:01 +0000)]
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).

28 years agoRecognize *.sl and *.so as library (i.e. linker) arguments
Guido van Rossum [Mon, 19 Aug 1996 22:00:05 +0000 (22:00 +0000)]
Recognize *.sl and *.so as library (i.e. linker) arguments

28 years agoIncorporate LDFLAGS calculated by configure (for --with-readline)
Guido van Rossum [Mon, 19 Aug 1996 21:59:32 +0000 (21:59 +0000)]
Incorporate LDFLAGS calculated by configure (for --with-readline)

28 years agoThe usual...
Guido van Rossum [Mon, 19 Aug 1996 21:59:00 +0000 (21:59 +0000)]
The usual...

28 years agoSeveral refinements:
Guido van Rossum [Mon, 19 Aug 1996 21:58:16 +0000 (21:58 +0000)]
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

28 years agoAdd HAVE_OLD_CPP to list of known defines
Guido van Rossum [Mon, 19 Aug 1996 21:53:18 +0000 (21:53 +0000)]
Add HAVE_OLD_CPP to list of known defines

28 years agoMACHDEP and regen problem is now taken care of
Guido van Rossum [Mon, 19 Aug 1996 21:51:24 +0000 (21:51 +0000)]
MACHDEP and regen problem is now taken care of

28 years agoSupport for keyword arguments (PyArg_ParseTupleAndKeywords) donated by
Guido van Rossum [Mon, 19 Aug 1996 19:32:04 +0000 (19:32 +0000)]
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).

28 years agoChanges to make the file acceptable to K&R C compilers (HPUX, SunOS 4.x).
Guido van Rossum [Mon, 19 Aug 1996 19:30:45 +0000 (19:30 +0000)]
Changes to make the file acceptable to K&R C compilers (HPUX, SunOS 4.x).

28 years agoFixed command-. handling
Jack Jansen [Mon, 19 Aug 1996 15:11:45 +0000 (15:11 +0000)]
Fixed command-. handling
Added hacks for GetEventQueue (so you don't have to edit Events.h)

28 years agoFixed to work for ppc and cfm68k
Jack Jansen [Mon, 19 Aug 1996 15:10:50 +0000 (15:10 +0000)]
Fixed to work for ppc and cfm68k

28 years agoGuido:
Jack Jansen [Mon, 19 Aug 1996 11:38:54 +0000 (11:38 +0000)]
Guido:
- define USE_CHECKSTACK
- Comment on defines used

28 years agoRemoved debug printf
Jack Jansen [Mon, 19 Aug 1996 11:38:03 +0000 (11:38 +0000)]
Removed debug printf

28 years agoRemoved obsolete cfm68k ifdef (Guido)
Jack Jansen [Mon, 19 Aug 1996 11:37:32 +0000 (11:37 +0000)]
Removed obsolete cfm68k ifdef (Guido)

28 years agoInclude config.h
Jack Jansen [Mon, 19 Aug 1996 11:36:59 +0000 (11:36 +0000)]
Include config.h

28 years agoGuido:
Jack Jansen [Mon, 19 Aug 1996 11:36:25 +0000 (11:36 +0000)]
Guido:
- new SpinCursor (replacing Jack's almost-identical one)
- use GetEventQueue in stead of GetEvQHdr

28 years agoGuido: added some void's to declarations
Jack Jansen [Mon, 19 Aug 1996 11:18:24 +0000 (11:18 +0000)]
Guido: added some void's to declarations

28 years agoGuido: changed __sinit to __initialize for CFM68K.
Jack Jansen [Mon, 19 Aug 1996 11:17:33 +0000 (11:17 +0000)]
Guido: changed __sinit to __initialize for CFM68K.

28 years agoFixes by Guido: HAVE_CONFIG_H, USE_STACKCHECK and
Jack Jansen [Mon, 19 Aug 1996 11:16:32 +0000 (11:16 +0000)]
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.

28 years agoNo USE_MACSPEECH for CFM68K (the interface library appears to be missing)
Jack Jansen [Mon, 19 Aug 1996 11:02:13 +0000 (11:02 +0000)]
No USE_MACSPEECH for CFM68K (the interface library appears to be missing)

28 years agoDummy SpinCursor() if __CFM68K__ is defined
Jack Jansen [Mon, 19 Aug 1996 11:01:05 +0000 (11:01 +0000)]
Dummy SpinCursor() if __CFM68K__ is defined

28 years agoRemoved {Set,Get}SoundVol (old calls not supported by cfm68k)
Jack Jansen [Mon, 19 Aug 1996 10:59:44 +0000 (10:59 +0000)]
Removed {Set,Get}SoundVol (old calls not supported by cfm68k)

28 years agoFixed viewrect/destrect calculation
Jack Jansen [Mon, 19 Aug 1996 10:58:37 +0000 (10:58 +0000)]
Fixed viewrect/destrect calculation

28 years agosite customization hook...
Guido van Rossum [Sat, 17 Aug 1996 19:56:26 +0000 (19:56 +0000)]
site customization hook...

28 years agoDon't test here for negative number to float power; that belongs in
Guido van Rossum [Fri, 16 Aug 1996 20:49:17 +0000 (20:49 +0000)]
Don't test here for negative number to float power; that belongs in
floatobject.c.

28 years agoDon't die in resizestring() on filter(<func>, "").
Guido van Rossum [Fri, 16 Aug 1996 20:44:34 +0000 (20:44 +0000)]
Don't die in resizestring() on filter(<func>, "").

28 years agoTest for negative # to the nonintegral float power here.
Guido van Rossum [Fri, 16 Aug 1996 20:42:57 +0000 (20:42 +0000)]
Test for negative # to the nonintegral float power here.
Expanded powi() in-line.

28 years agoregen for Next
Guido van Rossum [Fri, 16 Aug 1996 18:14:41 +0000 (18:14 +0000)]
regen for Next

28 years agoChanges for Windows NT -- this time it works, with Tcl4.1p1 (p1!!!) etc.
Guido van Rossum [Tue, 13 Aug 1996 21:10:16 +0000 (21:10 +0000)]
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.

28 years agoAdded routines to print, format and extract the current, ``live'' stack.
Guido van Rossum [Mon, 12 Aug 1996 23:18:13 +0000 (23:18 +0000)]
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.

28 years agoDisable support for access statement
Guido van Rossum [Mon, 12 Aug 1996 22:00:53 +0000 (22:00 +0000)]
Disable support for access statement

28 years agoDefine reference count admin debug functions to return void.
Guido van Rossum [Mon, 12 Aug 1996 21:32:12 +0000 (21:32 +0000)]
Define reference count admin debug functions to return void.

28 years agoAdded extern declarations for reference count admin debug functions.
Guido van Rossum [Mon, 12 Aug 1996 21:31:32 +0000 (21:31 +0000)]
Added extern declarations for reference count admin debug functions.

28 years ago(py-no-outdent-re): Added return, break, raise, continue since we
Barry Warsaw [Mon, 12 Aug 1996 19:52:27 +0000 (19:52 +0000)]
(py-no-outdent-re): Added return, break, raise, continue since we
already outdent for those statements.

28 years agoRenamed to pyerrors.h
Guido van Rossum [Fri, 9 Aug 1996 23:15:18 +0000 (23:15 +0000)]
Renamed to pyerrors.h

28 years agoSome improvements by Fred Drake.
Guido van Rossum [Fri, 9 Aug 1996 21:46:34 +0000 (21:46 +0000)]
Some improvements by Fred Drake.

28 years agoSeparate .dvi and .ps targets.
Guido van Rossum [Fri, 9 Aug 1996 21:46:05 +0000 (21:46 +0000)]
Separate .dvi and .ps targets.
More rational destination for texi2html.py.

28 years agoAdded capitalize, capwords, lstrip, rstrip, and optional 3rd argument
Guido van Rossum [Fri, 9 Aug 1996 21:44:51 +0000 (21:44 +0000)]
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.

28 years agoAdded capwords, splitx, and optional 3rd argument to split/splitx.
Guido van Rossum [Fri, 9 Aug 1996 21:43:21 +0000 (21:43 +0000)]
Added capwords, splitx, and optional 3rd argument to split/splitx.

28 years agoUse splitx() in capwords() (bugfix after interface change for split()).
Guido van Rossum [Fri, 9 Aug 1996 21:32:29 +0000 (21:32 +0000)]
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_].

28 years agoSuggest using default values for __init__ arguments to make classes
Guido van Rossum [Fri, 9 Aug 1996 21:23:47 +0000 (21:23 +0000)]
Suggest using default values for __init__ arguments to make classes
unpicklable.

28 years agoGet rid of parrot dropping (spurious 'E')
Guido van Rossum [Fri, 9 Aug 1996 21:23:14 +0000 (21:23 +0000)]
Get rid of parrot dropping (spurious 'E')

28 years agoAdded doco for abstract interface
Guido van Rossum [Fri, 9 Aug 1996 21:01:07 +0000 (21:01 +0000)]
Added doco for abstract interface

28 years agoAdded footnote about lamda bodies being the same as function bodies.
Guido van Rossum [Fri, 9 Aug 1996 21:00:19 +0000 (21:00 +0000)]
Added footnote about lamda bodies being the same as function bodies.

28 years agoAdd warning about exceptions in __del__ being ignored.
Guido van Rossum [Fri, 9 Aug 1996 20:59:25 +0000 (20:59 +0000)]
Add warning about exceptions in __del__ being ignored.

28 years agoInsert "./" in front of pathname when it contains no '/' (if USE_SHLIB)
Guido van Rossum [Fri, 9 Aug 1996 20:55:05 +0000 (20:55 +0000)]
Insert "./" in front of pathname when it contains no '/' (if USE_SHLIB)

28 years agoOptimizations by Sjoerd:
Guido van Rossum [Fri, 9 Aug 1996 20:53:24 +0000 (20:53 +0000)]
Optimizations by Sjoerd:
- define tp_getattro, tp_setattro
- use precreated string objects for most common exceptions and method names

28 years agoSupport for tp_getattro, tp_setattro (Sjoerd)
Guido van Rossum [Fri, 9 Aug 1996 20:52:03 +0000 (20:52 +0000)]
Support for tp_getattro, tp_setattro (Sjoerd)

28 years agoUse pre-created string objects for most common exceptions
Guido van Rossum [Fri, 9 Aug 1996 20:51:27 +0000 (20:51 +0000)]
Use pre-created string objects for most common exceptions
(especially IndexError which is caught by 'for')

28 years agoCorrect wrong calculation of pow(0.0, 0.0, negative_number)
Guido van Rossum [Fri, 9 Aug 1996 20:50:14 +0000 (20:50 +0000)]
Correct wrong calculation of pow(0.0, 0.0, negative_number)

28 years agoAdded tp_getattro, tp_setattro (Sjoerd)
Guido van Rossum [Fri, 9 Aug 1996 20:48:52 +0000 (20:48 +0000)]
Added tp_getattro, tp_setattro (Sjoerd)

28 years agoNew AIX-NOTES
Guido van Rossum [Fri, 9 Aug 1996 14:38:40 +0000 (14:38 +0000)]
New AIX-NOTES

28 years agoNew AIX-NOTES
Guido van Rossum [Fri, 9 Aug 1996 14:38:22 +0000 (14:38 +0000)]
New AIX-NOTES

28 years agoThis is the third time I check in this change :-(
Guido van Rossum [Thu, 8 Aug 1996 20:26:45 +0000 (20:26 +0000)]
This is the third time I check in this change :-(

Don't use assignments into inst.__dict__ to restore instance
variables; use setattr() instead.

28 years agoInclude "mymath.h" instead of manually declaring math functions.
Guido van Rossum [Thu, 8 Aug 1996 19:17:45 +0000 (19:17 +0000)]
Include "mymath.h" instead of manually declaring math functions.

28 years agoAdded lstrip() and rstrip().
Guido van Rossum [Thu, 8 Aug 1996 19:16:15 +0000 (19:16 +0000)]
Added lstrip() and rstrip().
Extended split() (and hence splitfields(), which is the same function)
to support an optional third parameter giving the maximum number of
delimiters to parse.

28 years agoNeed config.h (for Win etc.)
Guido van Rossum [Thu, 8 Aug 1996 19:12:37 +0000 (19:12 +0000)]
Need config.h (for Win etc.)

28 years agoAdded hack to get it to compile on AIX.
Guido van Rossum [Thu, 8 Aug 1996 19:12:05 +0000 (19:12 +0000)]
Added hack to get it to compile on AIX.

28 years agoRearrange include headers (needed on some platforms).
Guido van Rossum [Thu, 8 Aug 1996 19:11:41 +0000 (19:11 +0000)]
Rearrange include headers (needed on some platforms).

28 years agoHack for Mac (where fabs is not usable as a function pointer).
Guido van Rossum [Thu, 8 Aug 1996 19:10:21 +0000 (19:10 +0000)]
Hack for Mac (where fabs is not usable as a function pointer).

28 years agoAdd optional casts to free() calls. (Jack)
Guido van Rossum [Thu, 8 Aug 1996 19:09:53 +0000 (19:09 +0000)]
Add optional casts to free() calls.  (Jack)
Set Tk variable argv0 to classname passed in to Tkapp_New.  (Fred)

28 years agoRationalized instructions for _tkinter.c
Guido van Rossum [Thu, 8 Aug 1996 19:08:47 +0000 (19:08 +0000)]
Rationalized instructions for _tkinter.c

28 years agoAlso remove *.sl (AIX shared libs) in make clean.
Guido van Rossum [Thu, 8 Aug 1996 19:07:46 +0000 (19:07 +0000)]
Also remove *.sl (AIX shared libs) in make clean.

28 years agoRemoved
Guido van Rossum [Thu, 8 Aug 1996 19:07:06 +0000 (19:07 +0000)]
Removed

28 years agoLatest AIX changes from Vlad
Guido van Rossum [Thu, 8 Aug 1996 19:06:31 +0000 (19:06 +0000)]
Latest AIX changes from Vlad

28 years agoThis commit was manufactured by cvs2svn to create tag 'r14beta2'. v1.4b2
cvs2svn [Thu, 8 Aug 1996 19:05:09 +0000 (19:05 +0000)]
This commit was manufactured by cvs2svn to create tag 'r14beta2'.

28 years agoRe-install aix files (what happened?)
Guido van Rossum [Thu, 8 Aug 1996 19:05:09 +0000 (19:05 +0000)]
Re-install aix files (what happened?)

28 years agoremoved old file
Guido van Rossum [Thu, 8 Aug 1996 18:58:45 +0000 (18:58 +0000)]
removed old file

28 years agoChanges necessary for AIX.
Guido van Rossum [Thu, 8 Aug 1996 18:53:41 +0000 (18:53 +0000)]
Changes necessary for AIX.

28 years agoAdded casts from unsigned char to char when calling rds_object() on
Guido van Rossum [Thu, 8 Aug 1996 18:52:59 +0000 (18:52 +0000)]
Added casts from unsigned char to char when calling rds_object() on
frozen code.

28 years agoRemoved unused var; added error check for ``lambda: x=1''.
Guido van Rossum [Thu, 8 Aug 1996 18:51:04 +0000 (18:51 +0000)]
Removed unused var; added error check for ``lambda: x=1''.

28 years agoInclude mymath.h instead of declaring prototypes for math functions.
Guido van Rossum [Thu, 8 Aug 1996 18:49:41 +0000 (18:49 +0000)]
Include mymath.h instead of declaring prototypes for math functions.
Fix leak and unchecked error in complex().

28 years agoCorrectly use Py_PROTO, not obsolete PROTO.
Guido van Rossum [Thu, 8 Aug 1996 18:44:36 +0000 (18:44 +0000)]
Correctly use Py_PROTO, not obsolete PROTO.

28 years agoRenamed errors. -> pyerrors.h (for Mac, where Errors.h is a system header).
Guido van Rossum [Thu, 8 Aug 1996 18:43:59 +0000 (18:43 +0000)]
Renamed errors. -> pyerrors.h (for Mac, where Errors.h is a system header).

28 years agoTypo: PySequence_Lenth -> PySequence_Length.
Guido van Rossum [Thu, 8 Aug 1996 18:43:10 +0000 (18:43 +0000)]
Typo: PySequence_Lenth -> PySequence_Length.

28 years agoFor method=POST, append a query string from the environment or from
Guido van Rossum [Thu, 8 Aug 1996 18:42:12 +0000 (18:42 +0000)]
For method=POST, append a query string from the environment or from
sys.argv[1], effectively merging the fields.

28 years agoAdd optional third parameter to split() and splitfields(), giving the
Guido van Rossum [Thu, 8 Aug 1996 18:40:59 +0000 (18:40 +0000)]
Add optional third parameter to split() and splitfields(), giving the
maximum number of delimiters to parse; e.g.
splitfields("a,b,c,d", ",", 2) -> ["a", "b", "c,d"].

28 years agoChanged split() to be compatible with changes to string.split(): the
Guido van Rossum [Thu, 8 Aug 1996 18:39:18 +0000 (18:39 +0000)]
Changed split() to be compatible with changes to string.split(): the
optional third argument gives a maximum number of delimiters to parse.
The new function splitx() is like split() but returns a list
containing the words as well as the delimiters.

28 years agoSlight update of doc string -- suggest default args for __init__, no
Guido van Rossum [Thu, 8 Aug 1996 18:35:22 +0000 (18:35 +0000)]
Slight update of doc string -- suggest default args for __init__, no
longer complain that __getinitargs__ is an ugly name.

28 years agoRestore 1.3 behavior of gettempdir(): if tempdir is already set, believe it.
Guido van Rossum [Thu, 8 Aug 1996 18:33:56 +0000 (18:33 +0000)]
Restore 1.3 behavior of gettempdir(): if tempdir is already set, believe it.

28 years agoDon't use 'false'; use '0'.
Guido van Rossum [Thu, 8 Aug 1996 18:32:15 +0000 (18:32 +0000)]
Don't use 'false'; use '0'.

28 years agostupid typo in latest fix ('Name' should be 'name')
Guido van Rossum [Thu, 8 Aug 1996 18:31:42 +0000 (18:31 +0000)]
stupid typo in latest fix ('Name' should be 'name')

28 years agoNeed to import * from types
Guido van Rossum [Thu, 8 Aug 1996 18:31:11 +0000 (18:31 +0000)]
Need to import * from types

28 years agoAdded test for math module
Guido van Rossum [Thu, 8 Aug 1996 18:26:25 +0000 (18:26 +0000)]
Added test for math module

28 years agoUse fcntl.h instead of sys/fcntl.h; use h2py.py from Tools/scripts
Guido van Rossum [Thu, 8 Aug 1996 18:25:40 +0000 (18:25 +0000)]
Use fcntl.h instead of sys/fcntl.h; use h2py.py from Tools/scripts

28 years agoNew AIX specific subdirs
Guido van Rossum [Thu, 8 Aug 1996 18:24:58 +0000 (18:24 +0000)]
New AIX specific subdirs

28 years agoChanged to use 8-byte doubles. Also re-enabled optimizations, 68020
Jack Jansen [Wed, 7 Aug 1996 14:54:48 +0000 (14:54 +0000)]
Changed to use 8-byte doubles. Also re-enabled optimizations, 68020
codegen.

28 years agoMoved build.html to building.html
Jack Jansen [Wed, 7 Aug 1996 13:19:16 +0000 (13:19 +0000)]
Moved build.html to building.html

28 years agoChanged instructions for new releases of cwgusi, waste and tcl/tk,
Jack Jansen [Tue, 6 Aug 1996 16:16:20 +0000 (16:16 +0000)]
Changed instructions for new releases of cwgusi, waste and tcl/tk,
moved some urls around, reformatted.

28 years agoNew releases of CWGUSI, Waste and Tcl/Tk.
Jack Jansen [Tue, 6 Aug 1996 16:08:45 +0000 (16:08 +0000)]
New releases of CWGUSI, Waste and Tcl/Tk.

28 years agoUpdated for new tcl/tk release
Jack Jansen [Tue, 6 Aug 1996 16:07:17 +0000 (16:07 +0000)]
Updated for new tcl/tk release

28 years agoGUSI mkdir() lost its dummy second arg
Jack Jansen [Tue, 6 Aug 1996 16:06:31 +0000 (16:06 +0000)]
GUSI mkdir() lost its dummy second arg

28 years agoNew waste release
Jack Jansen [Tue, 6 Aug 1996 16:05:24 +0000 (16:05 +0000)]
New waste release

28 years agoUpgraded to Waste 1.2f
Jack Jansen [Tue, 6 Aug 1996 16:04:22 +0000 (16:04 +0000)]
Upgraded to Waste 1.2f

28 years ago#updated commentary
Barry Warsaw [Tue, 6 Aug 1996 15:57:58 +0000 (15:57 +0000)]
#updated commentary