Commit Graph

1911 Commits

Author SHA1 Message Date
Guido van Rossum
e773754ae5 Mods (really diffs to 2.29) by Michael Scharf for alternative __getattr__ etc. 1994-09-05 07:31:41 +00:00
Guido van Rossum
56bf235d4c Lance's release 1.1 -- fixes some problems with 1.0 1994-08-31 22:06:24 +00:00
Guido van Rossum
fbea2f3e7c Release 1.0 by Lance 1994-08-31 22:05:27 +00:00
Guido van Rossum
7522f030ee Makefile.in: run compileall on installed library;
rest: the usual
1994-08-30 12:42:01 +00:00
Guido van Rossum
e4ab6475f1 * Python/getmtime.c: Remove mac specifics (Mac subdirectory has
its own version now)
* Python/bltinmodule.c (builtin_tuple): use pre-existing
listtuple(v) for lists
1994-08-30 12:38:05 +00:00
Guido van Rossum
f6971e2958 Lance has converted his modules to the new naming conventions, and
contributed a curses interface.
Setup.in uses .c instead of .o now.
1994-08-30 12:25:20 +00:00
Guido van Rossum
0c4071e69f FAQ: Added lambda stress test by Ulf
ACKS: Added Ulf
README: fix typo
1994-08-30 12:23:22 +00:00
Guido van Rossum
f023ab0471 Dialog.py: d.num should be numeric, not string
Tkinter.py: on destroy(), remove self from master's dict of children
1994-08-30 12:13:44 +00:00
Guido van Rossum
c1be9d59e4 * Doc/tut.tex (subsection{Lambda Forms}): fix typo in lambda
example
1994-08-30 12:08:58 +00:00
Guido van Rossum
275b0a44d5 Description of what's here 1994-08-30 12:07:58 +00:00
Guido van Rossum
9717991b78 Merge back to main trunk 1994-08-30 09:33:45 +00:00
Guido van Rossum
224b289efa * Modules/makesetup: bugfix: add objects from sources to OBJS 1994-08-30 09:27:16 +00:00
Guido van Rossum
1d5735e846 Merge back to main trunk 1994-08-30 08:27:36 +00:00
Guido van Rossum
013142a95f fix nasty bug in resizing (formatstring) 1994-08-30 08:19:36 +00:00
Guido van Rossum
e59214ed91 call_object: print message before abort() 1994-08-30 08:01:59 +00:00
Guido van Rossum
b078ce10d4 Move #endif for NT 1994-08-29 14:01:43 +00:00
Guido van Rossum
74e6a118ca * Python/import.c: support *.o/*.so as alternative for
*module.o/*module.so

        * Python/import.c: if initializing a module did not enter the
        module into sys.modules, it may have raised an exception -- don't
        override this exception.

Merged NT changes

        * Python/import.c: add lost NT-specific code back in

Fixed NT changes
1994-08-29 12:54:38 +00:00
Guido van Rossum
14144fcdfd Added delattr() 1994-08-29 12:53:40 +00:00
Guido van Rossum
cae027b298 * Python/bltinmodule.c: added tuple() builtin 1994-08-29 12:53:11 +00:00
Guido van Rossum
df05ac6dfb Python/bltinmodule.c: mods by Andrew Kuchling to implement
pow(x,y,z) == pow(x,y)%z, but without incurring overflow
1994-08-29 12:52:37 +00:00
Guido van Rossum
2d9518585c * Python/bltinmodule.c (builtin_vars): correct typo in error msg 1994-08-29 12:52:16 +00:00
Guido van Rossum
a110aa658b * Python/pythonrun.c (print_error): added INCREF/DECREF pair --
the exception returned by a syntax error (when reported) would
        contain an object with refcnt zero!
MPW changes
1994-08-29 12:50:44 +00:00
Guido van Rossum
bf8c0e336f mods by Andrew Kuchling to implement
pow(x,y,z) == pow(x,y)%z, but without incurring overflow
Correct problems found by THINK C 6.0
1994-08-29 12:48:32 +00:00
Guido van Rossum
eb1fafcec1 New patches by Andrew to fix various problems
Add cast for Lance
1994-08-29 12:47:19 +00:00
Guido van Rossum
6cd2fe043b Correct problems found by THINK C 6.0 1994-08-29 12:45:32 +00:00
Guido van Rossum
f4b1a64a21 * Parser/tokenizer.c: backup over illegal newline in string
literal (for "completeness" test)
1994-08-29 12:43:07 +00:00
Guido van Rossum
bd0389d5fd don't call strncpy(str, NULL, 0) 1994-08-29 12:25:45 +00:00
Guido van Rossum
4ca6c9db81 * Python/compile.c (com_argdefs, com_arglist): avoid referencing
CHILD(n,i) for i >= NCH(n)
1994-08-29 12:16:12 +00:00
Guido van Rossum
3a24181837 err_clear: clear interpreter stack trace 1994-08-29 12:14:12 +00:00
Guido van Rossum
13836d9e6d add function name to traceback info
MPW fixes
1994-08-29 12:09:58 +00:00
Guido van Rossum
d2002c79f0 Added PyArg_NoArgs(v) 1994-08-29 10:55:31 +00:00
Guido van Rossum
ff18df0eb3 For THINK C 6.0 1994-08-29 10:55:19 +00:00
Guido van Rossum
3bb5448767 New way of generating .pyc files, thanks to Sjoerd.
urllib.py: '+' is not always safe (even though the RFC says so :-( )
whrandom.py: throw away top bits of time to avoid overflow on Mac
(where times can be negative)
1994-08-29 10:52:58 +00:00
Guido van Rossum
7b1e974b4b Makefile.pre.in: add $(OPT) to link command
audioop.c: fix for MPW
config.c.in: save original argc/argv for Lance
rotormodule.c: new coding conventions
timemodule.c: add casts for Lance
1994-08-29 10:46:42 +00:00
Guido van Rossum
0e3da7ba50 Makefile: add $(OPT) to linking line
tokenizer.c: move tok_backup call around
1994-08-29 10:44:10 +00:00
Guido van Rossum
ba941eba67 MPW changes 1994-08-29 10:43:12 +00:00
Guido van Rossum
8e1f8dd094 Restructured MPW notes 1994-08-29 09:14:14 +00:00
Guido van Rossum
8ce65b4cde README, Makfiles and `buildall' script to build Python under MPW 3.2. 1994-08-29 08:58:39 +00:00
Guido van Rossum
739267b7c3 Completed (hopefully) the unification of THINK 6.0 and MPW 3.2
versions -- they now share config.c and config.h, and statting is
always done through macstat.[ch] (THINK's <stat.h> defines funny
constants).  Also the configuration of stdwin is done differently: you
have to define USE_STDWIN to the compiler prefix.
1994-08-29 08:42:37 +00:00
Guido van Rossum
e783444440 Intermediate version of changes after porting to MPW 3.2 1994-08-26 09:09:48 +00:00
Guido van Rossum
f0171a1626 * configure.in, */Makefile*.in: OPT can now be specified in the
env at configure time and will then be put in all Makefiles as
	default
	* */Makefile*.in: remove lib*.a before adding to it
1994-08-23 14:06:18 +00:00
Guido van Rossum
c561e5dd58 The usual... 1994-08-23 13:52:46 +00:00
Guido van Rossum
794b93ea8a * Modules/Setup.*: removed all except Setup.in (huh? I thought
I'd done that already?!); disable gdbm by default
	* configure.in, */Makefile*.in: OPT can now be specified in the
	env at configure time and will then be put in all Makefiles as
	default
	* */Makefile*.in: remove lib*.a before adding to it
1994-08-23 13:51:25 +00:00
Guido van Rossum
aa0f4c73e5 * Modules/signalmodule.c: added pause(). 1994-08-23 13:49:37 +00:00
Guido van Rossum
0b498beea2 * Modules/makesetup: support C++ files now; these should be given
as file.C or file.cc or file.c++; C files can be given as file.c
	(instead of file.o, which is still supported)
1994-08-23 13:49:15 +00:00
Guido van Rossum
794d81313b * Modules/posixmodule.c: some more NT changes 1994-08-23 13:48:48 +00:00
Guido van Rossum
9731d4470f * Modules/config.c.in: change mac specific things 1994-08-23 13:48:30 +00:00
Guido van Rossum
d250ee2413 * Parser/tokenizer.c: backup over illegal newline in string
literal (for "completeness" test)
	* */Makefile*.in: remove lib*.a before adding to it
1994-08-23 13:38:57 +00:00
Guido van Rossum
b4f066da49 Include/node.h: make some fields short to save space during
parsing
1994-08-23 13:37:43 +00:00
Guido van Rossum
b0f3c82a3b Added macmain.c (separate Mac specific main prog); bump version to 1.1 1994-08-23 13:34:25 +00:00