]> granicus.if.org Git - python/log
python
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

28 years ago(py-menu): Create default value
Barry Warsaw [Tue, 6 Aug 1996 15:43:33 +0000 (15:43 +0000)]
(py-menu): Create default value

28 years ago(py-forward-into-nomenclature): Slightly better regex for stopping on
Barry Warsaw [Mon, 5 Aug 1996 21:53:02 +0000 (21:53 +0000)]
(py-forward-into-nomenclature): Slightly better regex for stopping on
underscore.

28 years agorebinhexed
Jack Jansen [Mon, 5 Aug 1996 15:40:37 +0000 (15:40 +0000)]
rebinhexed

28 years agoBuild instructions for source distribution that were somehow never
Jack Jansen [Mon, 5 Aug 1996 15:34:45 +0000 (15:34 +0000)]
Build instructions for source distribution that were somehow never
checked in.
Modified: removed stdwin references, added note on tcl memory allocation.

28 years ago(py-electric-colon): Use (py-next-statement -1) instead of
Barry Warsaw [Fri, 2 Aug 1996 16:22:43 +0000 (16:22 +0000)]
(py-electric-colon): Use (py-next-statement -1) instead of
(forward-line -1), to properly catch continued statements.

28 years agoRemoved references to mactcp, macdnr and stdwin modules
Jack Jansen [Fri, 2 Aug 1996 15:22:26 +0000 (15:22 +0000)]
Removed references to mactcp, macdnr and stdwin modules
Rebinhexed resource files

28 years ago1.4b2 projects
Jack Jansen [Fri, 2 Aug 1996 15:20:08 +0000 (15:20 +0000)]
1.4b2 projects

28 years agoUpped version number, rebinhexed everything
Jack Jansen [Fri, 2 Aug 1996 15:17:32 +0000 (15:17 +0000)]
Upped version number, rebinhexed everything

28 years agoGuido's 1.4b2 fixes: Py_GetProgramName, Py_GetPrefix and Py_GetExecPrefix.
Jack Jansen [Fri, 2 Aug 1996 15:16:16 +0000 (15:16 +0000)]
Guido's 1.4b2 fixes: Py_GetProgramName, Py_GetPrefix and Py_GetExecPrefix.

28 years agoRegenerated
Jack Jansen [Fri, 2 Aug 1996 11:24:34 +0000 (11:24 +0000)]
Regenerated

28 years agoRegenerated from CW9 includes (only QuickDraw really got a few new values)
Jack Jansen [Fri, 2 Aug 1996 11:22:55 +0000 (11:22 +0000)]
Regenerated from CW9 includes (only QuickDraw really got a few new values)

28 years agoPyMac_BuildNumVersion added
Jack Jansen [Fri, 2 Aug 1996 11:21:03 +0000 (11:21 +0000)]
PyMac_BuildNumVersion added

28 years ago#updated comments
Barry Warsaw [Thu, 1 Aug 1996 20:11:51 +0000 (20:11 +0000)]
#updated comments

28 years ago(python-mode): automatically install imenu stuff.
Barry Warsaw [Thu, 1 Aug 1996 20:02:55 +0000 (20:02 +0000)]
(python-mode): automatically install imenu stuff.

28 years ago(imenu-example--python-show-method-args-p,
Barry Warsaw [Thu, 1 Aug 1996 19:48:02 +0000 (19:48 +0000)]
(imenu-example--python-show-method-args-p,
imenu-example--python-class-regexp,
imenu-example--python-method-regexp,
imenu-example--python-method-no-arg-parens,
imenu-example--python-method-arg-parens,
imenu-example--generic-python-expression,
imenu-example--python-generic-regexp,
imenu-example--python-generic-parens): New variables.

(imenu-example--create-python-index,
imenu-example--create-python-index-engine): New functions.

28 years ago(py-keep-region-active): Zap duplicate defun.
Barry Warsaw [Thu, 1 Aug 1996 18:17:14 +0000 (18:17 +0000)]
(py-keep-region-active): Zap duplicate defun.

28 years agoFinal text for beta2 release. Hopefully no pre-1.4 information is left.
Guido van Rossum [Thu, 1 Aug 1996 17:31:22 +0000 (17:31 +0000)]
Final text for beta2 release.  Hopefully no pre-1.4 information is left.

28 years agoNew project files, with sliceobject.c added.
Guido van Rossum [Thu, 1 Aug 1996 17:13:12 +0000 (17:13 +0000)]
New project files, with sliceobject.c added.

28 years ago(py-delete-char): Check for py-honor-comment-indentation.
Barry Warsaw [Thu, 1 Aug 1996 15:57:48 +0000 (15:57 +0000)]
(py-delete-char): Check for py-honor-comment-indentation.

28 years ago(py-mode): comment-start is now "# " so indent-for-comment does the
Barry Warsaw [Thu, 1 Aug 1996 15:53:09 +0000 (15:53 +0000)]
(py-mode): comment-start is now "# " so indent-for-comment does the
right thing.

(py-comment-region): let-bind comment-start to "## " so commented
regions get transformed into non-indenting comment lines.

(py-compute-region): Implement modification to rule for recognizing
"indenting comment lines".

28 years agoCW9
Jack Jansen [Thu, 1 Aug 1996 15:37:24 +0000 (15:37 +0000)]
CW9

28 years agoRemoved debug output
Jack Jansen [Thu, 1 Aug 1996 15:30:33 +0000 (15:30 +0000)]
Removed debug output

28 years agoRemoved unused var
Jack Jansen [Thu, 1 Aug 1996 15:27:18 +0000 (15:27 +0000)]
Removed unused var

28 years agoNumVersion stuff has changed
Jack Jansen [Thu, 1 Aug 1996 15:26:05 +0000 (15:26 +0000)]
NumVersion stuff has changed

28 years ago- Minimum stacksize is now 8K for PPC, 4K for 68K
Jack Jansen [Thu, 1 Aug 1996 15:23:54 +0000 (15:23 +0000)]
- Minimum stacksize is now 8K for PPC, 4K for 68K
- Added PyMac_BuildNumVersion

28 years agoNew .pyc magic numnber, too.
Guido van Rossum [Thu, 1 Aug 1996 01:06:24 +0000 (01:06 +0000)]
New .pyc magic numnber, too.

28 years agoUse Tcl/Tk 7.5/4.1 by default.
Guido van Rossum [Thu, 1 Aug 1996 00:56:03 +0000 (00:56 +0000)]
Use Tcl/Tk 7.5/4.1 by default.

28 years agoPut definition of _REENTRANT in config.h
Guido van Rossum [Thu, 1 Aug 1996 00:52:26 +0000 (00:52 +0000)]
Put definition of _REENTRANT in config.h

28 years agoAllow compilation by K&R C compiler.
Guido van Rossum [Thu, 1 Aug 1996 00:02:33 +0000 (00:02 +0000)]
Allow compilation by K&R C compiler.

28 years agoThe usual
Guido van Rossum [Wed, 31 Jul 1996 22:48:44 +0000 (22:48 +0000)]
The usual

28 years agoChanges for AIX; also remove all references to _REENTRANT.
Guido van Rossum [Wed, 31 Jul 1996 22:45:54 +0000 (22:45 +0000)]
Changes for AIX; also remove all references to _REENTRANT.

28 years agoChanges for AIX sharedlibs.
Guido van Rossum [Wed, 31 Jul 1996 22:44:53 +0000 (22:44 +0000)]
Changes for AIX sharedlibs.

28 years agoChanges for AIX shared libs
Guido van Rossum [Wed, 31 Jul 1996 22:43:38 +0000 (22:43 +0000)]
Changes for AIX shared libs

28 years ago#comment update
Barry Warsaw [Wed, 31 Jul 1996 22:33:40 +0000 (22:33 +0000)]
#comment update

28 years ago#comment update
Barry Warsaw [Wed, 31 Jul 1996 22:27:58 +0000 (22:27 +0000)]
#comment update

28 years ago#updated to do list
Barry Warsaw [Wed, 31 Jul 1996 21:30:21 +0000 (21:30 +0000)]
#updated to do list

28 years agoDon't trip over empty string in sys.path.
Guido van Rossum [Wed, 31 Jul 1996 21:18:42 +0000 (21:18 +0000)]
Don't trip over empty string in sys.path.

28 years ago(py-parse-state): stop searching backwards when we found a keyword at
Barry Warsaw [Wed, 31 Jul 1996 20:57:22 +0000 (20:57 +0000)]
(py-parse-state): stop searching backwards when we found a keyword at
column zero.  Perhaps a kludge, but similar in nature to Emacs'
beginning-of-defun shortcut.

28 years ago(py-statement-closes-block-p, py-compute-indentation): Outdent one
Barry Warsaw [Wed, 31 Jul 1996 20:42:59 +0000 (20:42 +0000)]
(py-statement-closes-block-p, py-compute-indentation): Outdent one
level after a return, raise, break, or continue statement.

28 years agogetprogramname --> Py_GetProgramName
Guido van Rossum [Wed, 31 Jul 1996 19:51:15 +0000 (19:51 +0000)]
getprogramname --> Py_GetProgramName

28 years agoIf NO_DYNAMIC_LINK is defined, load_dynamic_module() will always fail.
Guido van Rossum [Wed, 31 Jul 1996 17:55:19 +0000 (17:55 +0000)]
If NO_DYNAMIC_LINK is defined, load_dynamic_module() will always fail.

28 years agoAdded _REENTRANT definition
Guido van Rossum [Wed, 31 Jul 1996 17:52:04 +0000 (17:52 +0000)]
Added _REENTRANT definition

28 years agoDESTLIB and MACHDESTLIB are now derived from variables set by the Makefile.
Guido van Rossum [Wed, 31 Jul 1996 17:49:01 +0000 (17:49 +0000)]
DESTLIB and MACHDESTLIB are now derived from variables set by the Makefile.
Clarified some comments.

28 years agoCollect together all detailed installation directories.
Guido van Rossum [Wed, 31 Jul 1996 17:37:07 +0000 (17:37 +0000)]
Collect together all detailed installation directories.

28 years agoThe usual
Guido van Rossum [Wed, 31 Jul 1996 17:36:39 +0000 (17:36 +0000)]
The usual

28 years agoAdded doc para for --with-libs
Guido van Rossum [Wed, 31 Jul 1996 17:36:01 +0000 (17:36 +0000)]
Added doc para for --with-libs

28 years agoAdd entry for _REENTRANT macro
Guido van Rossum [Wed, 31 Jul 1996 17:35:30 +0000 (17:35 +0000)]
Add entry for _REENTRANT macro

28 years agoThree changes:
Guido van Rossum [Wed, 31 Jul 1996 17:35:03 +0000 (17:35 +0000)]
Three changes:
- Improved version of NeXT patching of $OPT
- Added new option --with-libs='lib1 lib2 ...'
- Define _REENTRANT when posix threads are in use

28 years agoCollect together all detailed installation directories.
Guido van Rossum [Wed, 31 Jul 1996 17:30:37 +0000 (17:30 +0000)]
Collect together all detailed installation directories.

28 years agoAdd a variable so you can easily install more than one machdep directory.
Guido van Rossum [Tue, 30 Jul 1996 21:55:17 +0000 (21:55 +0000)]
Add a variable so you can easily install more than one machdep directory.

28 years agoCorrect typo (intall -> install)
Guido van Rossum [Tue, 30 Jul 1996 21:41:56 +0000 (21:41 +0000)]
Correct typo (intall -> install)

28 years agoNumerous changes, but still a lot of XXX thingies.
Guido van Rossum [Tue, 30 Jul 1996 21:41:07 +0000 (21:41 +0000)]
Numerous changes, but still a lot of XXX thingies.

28 years agoExhaustive list of news in beta2 compared to beta1.
Guido van Rossum [Tue, 30 Jul 1996 21:34:09 +0000 (21:34 +0000)]
Exhaustive list of news in beta2 compared to beta1.
Now all we need to do is do the same for beta1 compared to 1.3.

28 years agoFreeBSD platform specific modules
Guido van Rossum [Tue, 30 Jul 1996 21:05:10 +0000 (21:05 +0000)]
FreeBSD platform specific modules

28 years agopatch level 1.4b2
Guido van Rossum [Tue, 30 Jul 1996 20:46:14 +0000 (20:46 +0000)]
patch level 1.4b2

28 years agoNote that the values are ints.
Guido van Rossum [Tue, 30 Jul 1996 20:45:45 +0000 (20:45 +0000)]
Note that the values are ints.

28 years agoNew zip code and release; added guido@python.org as alternative email.
Guido van Rossum [Tue, 30 Jul 1996 20:45:21 +0000 (20:45 +0000)]
New zip code and release; added guido@python.org as alternative email.

28 years agoDon't make an exception for NeXT (BBUM says it's no longer needed).
Guido van Rossum [Tue, 30 Jul 1996 20:44:31 +0000 (20:44 +0000)]
Don't make an exception for NeXT (BBUM says it's no longer needed).
(But hypot() should really be defined in a separate file, triggered by
configure.)