]> granicus.if.org Git - python/log
python
28 years agoAdd PYTHON_API_STRING, which is PYTHON_API_VERSION as a string literal.
Guido van Rossum [Thu, 22 Aug 1996 22:55:47 +0000 (22:55 +0000)]
Add PYTHON_API_STRING, which is PYTHON_API_VERSION as a string literal.
Under Windows, add MS_DLL_ID and MS_DLL_VERSION_ID for Mark H.

Independent change: if Py_TRACE_REFS is defined, rename Py_InitModule4
so so linking with incompatible modules will create a link time error.

[Backing out of previous changes (also for modsupport.c) to test
the latter at runtime.]

28 years agoAdded NumPy projects
Guido van Rossum [Thu, 22 Aug 1996 21:47:05 +0000 (21:47 +0000)]
Added NumPy projects

28 years agoimghdr.what(): check for not h'. This lets
Guido van Rossum [Thu, 22 Aug 1996 21:20:46 +0000 (21:20 +0000)]
imghdr.what(): check for not h'.  This lets
you do:
    imghdr.what(None, '')
And still go down the

28 years agoAdded thread module (it was already in the project!)
Guido van Rossum [Thu, 22 Aug 1996 00:43:42 +0000 (00:43 +0000)]
Added thread module (it was already in the project!)

28 years agoDescription of the new build procedure for Win NT/95.
Guido van Rossum [Thu, 22 Aug 1996 00:28:34 +0000 (00:28 +0000)]
Description of the new build procedure for Win NT/95.

28 years agoMore changes for NT, Guido style
Guido van Rossum [Thu, 22 Aug 1996 00:06:59 +0000 (00:06 +0000)]
More changes for NT, Guido style

28 years agoGet rid of unused local variable.
Guido van Rossum [Wed, 21 Aug 1996 23:46:01 +0000 (23:46 +0000)]
Get rid of unused local variable.

28 years agoAdded a small test program.
Guido van Rossum [Wed, 21 Aug 1996 23:38:59 +0000 (23:38 +0000)]
Added a small test program.

28 years agoAdd needed #include <ctype.h>
Guido van Rossum [Wed, 21 Aug 1996 23:38:24 +0000 (23:38 +0000)]
Add needed #include <ctype.h>

28 years agoRemoved environment, objc, sybase modules
Guido van Rossum [Wed, 21 Aug 1996 22:15:03 +0000 (22:15 +0000)]
Removed environment, objc, sybase modules

28 years agoGet rid of some obsolete modules:
Guido van Rossum [Wed, 21 Aug 1996 22:11:54 +0000 (22:11 +0000)]
Get rid of some obsolete modules:
- environment.c (we now have os.putenv)
- sybase (a better one is in contrib/Databases/Sybase.*)
- objc.c (incomplete and unsupportable by us)

28 years agoPatches to make it compile with K&R C
Guido van Rossum [Wed, 21 Aug 1996 21:55:43 +0000 (21:55 +0000)]
Patches to make it compile with K&R C

28 years agoAvoid complaint about inconsistent hypot() linkage on NT.
Guido van Rossum [Wed, 21 Aug 1996 20:36:52 +0000 (20:36 +0000)]
Avoid complaint about inconsistent hypot() linkage on NT.

28 years agoRemove dependency of $(srcdir)/Lib/$(MACHDEP) on python, since it would
Guido van Rossum [Wed, 21 Aug 1996 20:18:29 +0000 (20:18 +0000)]
Remove dependency of $(srcdir)/Lib/$(MACHDEP) on python, since it would
try to do the mkdir whenever a new python has been built...

28 years agoupdate -- Undo is now entry 1
Guido van Rossum [Wed, 21 Aug 1996 20:13:08 +0000 (20:13 +0000)]
update -- Undo is now entry 1

28 years agounicast pendant for broadcast.py
Guido van Rossum [Wed, 21 Aug 1996 20:11:55 +0000 (20:11 +0000)]
unicast pendant for broadcast.py

28 years agoRaise ValueError on empty string passed into atoi(), atol(), atof().
Guido van Rossum [Wed, 21 Aug 1996 20:02:25 +0000 (20:02 +0000)]
Raise ValueError on empty string passed into atoi(), atol(), atof().

28 years agoAdded documentation for PyObject_DelItem and PySequence_Del{Item,Slice}.
Guido van Rossum [Wed, 21 Aug 1996 19:08:12 +0000 (19:08 +0000)]
Added documentation for PyObject_DelItem and PySequence_Del{Item,Slice}.

28 years agoSupport for old CPP
Guido van Rossum [Wed, 21 Aug 1996 19:04:10 +0000 (19:04 +0000)]
Support for old CPP

28 years agoHacks to support being a Windows DLL
Guido van Rossum [Wed, 21 Aug 1996 19:03:36 +0000 (19:03 +0000)]
Hacks to support being a Windows DLL

28 years agoAdded PyObject_DelItem and PySequence_Del{Item,Slice}.
Guido van Rossum [Wed, 21 Aug 1996 17:41:54 +0000 (17:41 +0000)]
Added PyObject_DelItem and PySequence_Del{Item,Slice}.

28 years agoAdded delslice and delitem.
Guido van Rossum [Wed, 21 Aug 1996 17:40:51 +0000 (17:40 +0000)]
Added delslice and delitem.
Renamed and, or to and_, or_.
Renamed all internal identifiers so as not to start with '__' (which is
a compiler privilege); remove AIX hack.

28 years agoDemos for Fred's parser module
Guido van Rossum [Wed, 21 Aug 1996 16:28:53 +0000 (16:28 +0000)]
Demos for Fred's parser module

28 years agoNT specific files supplied by Mark Hammond
Guido van Rossum [Wed, 21 Aug 1996 15:03:37 +0000 (15:03 +0000)]
NT specific files supplied by Mark Hammond

28 years agoMore efficient handling of "__doc__" lookup.
Guido van Rossum [Wed, 21 Aug 1996 14:54:28 +0000 (14:54 +0000)]
More efficient handling of "__doc__" lookup.

28 years agoAdd explicit #undef _POSIX_THREADS for use on Solaris 2.5 (Sjoerd).
Guido van Rossum [Wed, 21 Aug 1996 14:39:29 +0000 (14:39 +0000)]
Add explicit #undef _POSIX_THREADS for use on Solaris 2.5 (Sjoerd).

28 years agoNew batch from Fred
Guido van Rossum [Wed, 21 Aug 1996 14:32:37 +0000 (14:32 +0000)]
New batch from Fred

28 years agoAdded Vlad.
Guido van Rossum [Tue, 20 Aug 1996 20:56:19 +0000 (20:56 +0000)]
Added Vlad.

28 years agoNew generic makefile by Jim F; drop pyimenu.el
Guido van Rossum [Tue, 20 Aug 1996 20:54:59 +0000 (20:54 +0000)]
New generic makefile by Jim F; drop pyimenu.el

28 years agoMinor updates.
Guido van Rossum [Tue, 20 Aug 1996 20:54:15 +0000 (20:54 +0000)]
Minor updates.

28 years agotypo
Guido van Rossum [Tue, 20 Aug 1996 20:53:04 +0000 (20:53 +0000)]
typo

28 years agoAdd #define MAC_TCL for Mac.
Guido van Rossum [Tue, 20 Aug 1996 20:49:56 +0000 (20:49 +0000)]
Add #define MAC_TCL for Mac.

28 years agoGet rid of access statement
Guido van Rossum [Tue, 20 Aug 1996 20:40:07 +0000 (20:40 +0000)]
Get rid of access statement

28 years agoAttempt at Windows-NT compatibility.
Guido van Rossum [Tue, 20 Aug 1996 20:38:59 +0000 (20:38 +0000)]
Attempt at Windows-NT compatibility.

28 years agoAdd optional separator character to capwords(), for completeness.
Guido van Rossum [Tue, 20 Aug 1996 20:25:41 +0000 (20:25 +0000)]
Add optional separator character to capwords(), for completeness.

28 years agodelattr() can raise AttributeError, not KeyError.
Guido van Rossum [Tue, 20 Aug 1996 20:25:08 +0000 (20:25 +0000)]
delattr() can raise AttributeError, not KeyError.
Use keyword arg to set verbose flag in test func.

28 years agoCorrect description of splitext().
Guido van Rossum [Tue, 20 Aug 1996 20:24:17 +0000 (20:24 +0000)]
Correct description of splitext().

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