]> granicus.if.org Git - python/log
python
28 years agoAdded locking hacks for AIX
Guido van Rossum [Tue, 20 Aug 1996 20:23:34 +0000 (20:23 +0000)]
Added locking hacks for AIX

28 years agoAdded print_exception() convenience function.
Guido van Rossum [Tue, 20 Aug 1996 20:22:39 +0000 (20:22 +0000)]
Added print_exception() convenience function.

28 years agoImproved tests; run twice, onece in normal mode, once in restricted mode.
Guido van Rossum [Tue, 20 Aug 1996 20:21:52 +0000 (20:21 +0000)]
Improved tests; run twice, onece in normal mode, once in restricted mode.

28 years agoBarry's 2.73
Guido van Rossum [Tue, 20 Aug 1996 20:07:34 +0000 (20:07 +0000)]
Barry's 2.73

28 years agoGet rid of debug print statements
Guido van Rossum [Tue, 20 Aug 1996 20:00:51 +0000 (20:00 +0000)]
Get rid of debug print statements

28 years agoDon't require <dlfcn.h> -- rely on existence of dlopen().
Guido van Rossum [Tue, 20 Aug 1996 19:59:07 +0000 (19:59 +0000)]
Don't require <dlfcn.h> -- rely on existence of dlopen().

28 years agoBarry's 2.72
Guido van Rossum [Tue, 20 Aug 1996 19:57:53 +0000 (19:57 +0000)]
Barry's 2.72

28 years ago*** empty log message ***
Barry Warsaw [Tue, 20 Aug 1996 19:57:34 +0000 (19:57 +0000)]
*** empty log message ***

28 years agoWrite warning about exception in __del__ to stderr, not stdout.
Guido van Rossum [Tue, 20 Aug 1996 19:54:29 +0000 (19:54 +0000)]
Write warning about exception in __del__ to stderr, not stdout.

28 years ago*noconfig* -> *shared*.
Guido van Rossum [Tue, 20 Aug 1996 19:50:17 +0000 (19:50 +0000)]
*noconfig* -> *shared*.
Add # -lm comment to modules that need it as sharedlib.

28 years agoSupport *shared* and *static* as aliases for *noconfig* and *config*.
Guido van Rossum [Tue, 20 Aug 1996 19:49:13 +0000 (19:49 +0000)]
Support *shared* and *static* as aliases for *noconfig* and *config*.

28 years agoTest for xdrmem_create() failure.
Guido van Rossum [Tue, 20 Aug 1996 19:47:44 +0000 (19:47 +0000)]
Test for xdrmem_create() failure.
Minor lay-out changes.

28 years agoInstall shared libs with executable mode -- needed for HPUX,
Guido van Rossum [Tue, 20 Aug 1996 19:46:35 +0000 (19:46 +0000)]
Install shared libs with executable mode -- needed for HPUX,
doesn't hurt elsewhere.

28 years agoMention warning for exception in __del__.
Guido van Rossum [Tue, 20 Aug 1996 18:03:48 +0000 (18:03 +0000)]
Mention warning for exception in __del__.

28 years agoErase all memory of the access statement
Guido van Rossum [Tue, 20 Aug 1996 17:35:48 +0000 (17:35 +0000)]
Erase all memory of the access statement

28 years agoAdapted for cfm68k, new names and split off of qt.
Jack Jansen [Tue, 20 Aug 1996 16:35:30 +0000 (16:35 +0000)]
Adapted for cfm68k, new names and split off of qt.

28 years agoRationalized header files:
Jack Jansen [Tue, 20 Aug 1996 16:34:01 +0000 (16:34 +0000)]
Rationalized header files:
- mwerks_nonshared_config.h for standalone pythons
- mwerks_shared_config.h for shared pythons (PythonCore, app and
  applet)
- mwerks_plugin_config.h for plugins
Only the _tkinter plugin uses a customized header.

Old config files have gone to the "old" directory, for the time being.

28 years ago- Gave PPC shared libraries (and projects) .ppc in their name
Jack Jansen [Tue, 20 Aug 1996 16:27:19 +0000 (16:27 +0000)]
- Gave PPC shared libraries (and projects) .ppc in their name
- Created CFM68K projects (not all tested yet!!)
- Moved quicktime to its own module
- Modified the README file to (approximately) resemble reality

28 years agoAdded void before main
Jack Jansen [Tue, 20 Aug 1996 16:21:06 +0000 (16:21 +0000)]
Added void before main

28 years ago- Renamed USE_BGEN to USE_TOOLBOX
Jack Jansen [Tue, 20 Aug 1996 16:20:31 +0000 (16:20 +0000)]
- Renamed USE_BGEN to USE_TOOLBOX
- Moved Qt and Cm out of toolbox into private library (so people
  without QuickTime can install PPC Python)

28 years agoRe-binhexed
Jack Jansen [Tue, 20 Aug 1996 16:18:42 +0000 (16:18 +0000)]
Re-binhexed

28 years agoChanges by Rob Hooft for GMP 2.0.2
Guido van Rossum [Mon, 19 Aug 1996 23:06:45 +0000 (23:06 +0000)]
Changes by Rob Hooft for GMP 2.0.2

28 years agoDocument actual behavior of splitext().
Guido van Rossum [Mon, 19 Aug 1996 23:00:50 +0000 (23:00 +0000)]
Document actual behavior of splitext().

28 years agoDocumented class exceptions.
Guido van Rossum [Mon, 19 Aug 1996 23:00:03 +0000 (23:00 +0000)]
Documented class exceptions.

28 years agoRemove mention of HAVE_CONFIG_H
Guido van Rossum [Mon, 19 Aug 1996 22:59:46 +0000 (22:59 +0000)]
Remove mention of HAVE_CONFIG_H

28 years agoAdded _xdr module
Guido van Rossum [Mon, 19 Aug 1996 22:58:53 +0000 (22:58 +0000)]
Added _xdr module

28 years agoAdded imghdr,xdrlib; reformatted Makefile somewhat
Guido van Rossum [Mon, 19 Aug 1996 22:58:03 +0000 (22:58 +0000)]
Added imghdr,xdrlib; reformatted Makefile somewhat

28 years agoRename __test() to _test().
Guido van Rossum [Mon, 19 Aug 1996 22:49:35 +0000 (22:49 +0000)]
Rename __test() to _test().

28 years agoXDR interface, evolved from Demo/rpc/xdr.py by Barry.
Guido van Rossum [Mon, 19 Aug 1996 22:26:43 +0000 (22:26 +0000)]
XDR interface, evolved from Demo/rpc/xdr.py by Barry.

28 years agoAdded note about standard library module xdrlib.py
Guido van Rossum [Mon, 19 Aug 1996 22:24:21 +0000 (22:24 +0000)]
Added note about standard library module xdrlib.py

28 years agoAlways include config.h
Guido van Rossum [Mon, 19 Aug 1996 22:12:39 +0000 (22:12 +0000)]
Always include config.h

28 years agoMany little fixes:
Guido van Rossum [Mon, 19 Aug 1996 22:12:10 +0000 (22:12 +0000)]
Many little fixes:
- support for SCO_SV dynamic loading
- on Mac, auto-detect dynamic loading by __CFM68K__ or _powerc)
- on Mac, long shared library extension is .cfm68k.slb or .ppc.slb
- on hp, don't redefine hpux if already defined
- add __file__ property to successfully loaded module

28 years agogetprogramname -> Py_GetProgramName.
Guido van Rossum [Mon, 19 Aug 1996 22:09:38 +0000 (22:09 +0000)]
getprogramname -> Py_GetProgramName.

28 years agoRaise TypeError, not KeyError, on unknown keyword argument.
Guido van Rossum [Mon, 19 Aug 1996 22:09:16 +0000 (22:09 +0000)]
Raise TypeError, not KeyError, on unknown keyword argument.

28 years agoAdded *PyMarshal_WriteObjectToString() (moved the relevant code there
Guido van Rossum [Mon, 19 Aug 1996 22:07:17 +0000 (22:07 +0000)]
Added *PyMarshal_WriteObjectToString() (moved the relevant code there
from marshal_loads()).

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).