Guido van Rossum
282914b7b0
Added error checking for numeric constants; added local/global variable
...
optimization.
1991-04-04 10:42:56 +00:00
Guido van Rossum
374a92261b
Moved support functions after main function; added prototypes;
...
Fixed 'needspace' hack to use a flag in the stdout file object;
added local and global variable lookup cases.
1991-04-04 10:40:29 +00:00
Guido van Rossum
7a904edcbf
Moved get*doublearg() routines here from mathmodule.c
1991-04-03 19:06:26 +00:00
Guido van Rossum
66f1fa83f1
Added forward declaration (to satisfy Standard C).
1991-04-03 19:03:52 +00:00
Guido van Rossum
62d4624ea3
Create code string with initial size of 1000 instead of 0.
1991-04-03 19:00:23 +00:00
Guido van Rossum
b8824952cb
Define and use GETNAMEV macro.
1991-04-03 18:59:50 +00:00
Guido van Rossum
e7ef22ef41
Include patchlevel.h (to ensure it is distributed with the rest).
1991-03-06 13:09:35 +00:00
Guido van Rossum
f70e43a073
Added copyright notice.
1991-02-19 12:39:46 +00:00
Guido van Rossum
7927384a1d
Added version that opens a pipe to /bin/pwd.
1991-02-19 12:28:18 +00:00
Guido van Rossum
7f133ed073
Call the init function of a built-in module here.
...
,
1991-02-19 12:23:57 +00:00
Guido van Rossum
865828d7cf
Reversed min and max (to alphabetical order).
1991-02-19 12:21:50 +00:00
Guido van Rossum
4c4177865d
Fix bug in input(); add comments to cases in compile().
1991-01-21 16:09:22 +00:00
Guido van Rossum
86cd6e646e
File name shortening.
1991-01-21 15:12:35 +00:00
Guido van Rossum
de9775af8f
Initial revision
1991-01-21 14:27:52 +00:00
Guido van Rossum
73531a3bae
Return -1 for errors.
1990-12-20 23:12:40 +00:00
Guido van Rossum
6c4f4a92ac
Changes for THINK C 4.0.
...
Don't call inittime() and initmath(), let config_*.c decide about those.
1990-12-20 23:11:33 +00:00
Guido van Rossum
f22120ab74
Changed include of <errno.h>
1990-12-20 23:05:40 +00:00
Guido van Rossum
40d0b7e904
Change div() into divide(); div() is a Standard C function.
1990-12-20 23:03:11 +00:00
Guido van Rossum
3f5da24ea3
"Compiling" version
1990-12-20 15:06:42 +00:00
Guido van Rossum
5b3138bec0
Empty all modules' symbol tables, so most circular references are
...
cleared up.
(A function definition references its module's symbol table but
the symbol table of course references the function...)
1990-11-18 17:41:40 +00:00
Guido van Rossum
c6aa9e90ad
Some extra DECREFs.
1990-11-18 17:40:32 +00:00
Guido van Rossum
3304975647
Add extra DECREF.
1990-11-18 17:36:26 +00:00
Guido van Rossum
d6f3bc2aae
Compile class definitions.
...
Document and fix code generation for try statements.
Use two bytes for all arguments.
Avoid duplicate entries in lists of constants and names.
1990-11-18 17:35:03 +00:00
Guido van Rossum
e9736fc8a1
Free parse tree after compiling.
...
Added support for class definitions.
Reorganized main interpreter loop to fetch op and arg once at the head.
Use two bytes for arguments (see ceval.c).
1990-11-18 17:33:06 +00:00
Guido van Rossum
da0c6bdfe3
Moved configuration-dependent initializations (etc.) to config_*.c
1990-11-18 17:28:24 +00:00