4569 Commits

Author SHA1 Message Date
Guido van Rossum
e8122f19a0 Renamed class methods to instance methods (which they are) 1991-05-05 20:03:07 +00:00
Guido van Rossum
d4905454cc Added long() and support for longs in int() and float();
turned abs() and divmod() into generic versions;
added pow().
1991-05-05 20:00:36 +00:00
Guido van Rossum
753e2bfbbf Initial revision 1991-04-16 08:45:40 +00:00
Guido van Rossum
a5900aa549 Move allobjects.h to front (needed by THINK C precompiled headers) 1991-04-16 08:42:06 +00:00
Guido van Rossum
0a697f686f BUGFIX! Instructions are unsigned bytes. 1991-04-16 08:39:12 +00:00
Guido van Rossum
26203aa422 Use fileobject's filegetline() to implement unlimited raw_input(). 1991-04-04 15:20:41 +00:00
Guido van Rossum
e6c67a7263 Added isatty() for MPW. 1991-04-04 10:47:59 +00:00
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