Commit Graph

33929 Commits

Author SHA1 Message Date
Guido van Rossum c7df79e47d Initial revision 1991-08-07 11:32:58 +00:00
Guido van Rossum 00c567ce6f All mac compilers now use 1904 as the Epoch... 1991-07-27 23:09:30 +00:00
Guido van Rossum 8c11a5c759 Completely ignore lines with only a newline token on them, except
wholly empty lines interactively.
1991-07-27 21:42:56 +00:00
Guido van Rossum 8dcbbac15a Added getxwindowin() method 1991-07-27 21:42:24 +00:00
Guido van Rossum 8119447fbe Add gethostname() and s.avail(). 1991-07-27 21:42:02 +00:00
Guido van Rossum e0d452d5ef Ignore SIGPIPE when we've opened a pipe 1991-07-27 21:41:01 +00:00
Guido van Rossum 278ef59110 Check for write errors after printing a value 1991-07-27 21:40:24 +00:00
Guido van Rossum 139e57b2a4 Support for long integers 1991-07-27 21:39:31 +00:00
Guido van Rossum 1492c27350 Add some err_errno calls that were missing 1991-07-27 21:38:43 +00:00
Guido van Rossum 18315a0ecd New syntax 1991-07-27 21:38:01 +00:00
Guido van Rossum ef098519ed New grammar (semicolons, continue, no multiple NEWLINES) 1991-07-27 21:37:24 +00:00
Guido van Rossum 4bad92cc8a New syntax: semicolons, continue statement.
For the latter we must keep track of the current block's type.
(We can't continue through a try statement, sigh.()
1991-07-27 21:34:52 +00:00
Guido van Rossum 76a00af3f2 Support for long integers 1991-07-27 21:34:00 +00:00
Guido van Rossum a049031f2d Added call_object interface 1991-07-27 21:33:03 +00:00
Guido van Rossum 83bf35cb27 Add interface to call a Python function (or other callable) object
from C.
1991-07-27 21:32:34 +00:00
Guido van Rossum 7ac4a88721 Change treatment of multiple NEWLINES 1991-07-27 21:29:47 +00:00
Guido van Rossum a60810973d Call printobject instead of fwrite to print strings. 1991-07-22 11:48:07 +00:00
Guido van Rossum 56f7837704 Added 'continue', semicolons and dictionary displays. 1991-07-17 18:39:15 +00:00
Guido van Rossum 2fe53f7fec The print operation now returns status! 1991-07-01 18:52:31 +00:00
Guido van Rossum 4dd2a7e45b Connection sockets now have the proper family/type/proto values.
Fix argument handling bug in socket(f,t,p) call.
Fix some comments.
1991-07-01 18:51:33 +00:00
Guido van Rossum 9db401333f Fixed confusing error message (open should be popen) 1991-07-01 18:48:44 +00:00
Guido van Rossum 9fb036811a Change cmpobject() to coerce numerical values before comparing them 1991-07-01 18:48:04 +00:00
Guido van Rossum ef0068ff9d Added getintintintarg() (3 int args) 1991-07-01 18:47:30 +00:00
Guido van Rossum 1055ecebee Reorganized somewhat to make it really work on Think C.
Hope the best for MPW 3.
1991-07-01 18:46:03 +00:00
Guido van Rossum 49955ae360 Support socket module 1991-07-01 18:45:17 +00:00
Guido van Rossum efc0bd02e5 Check for identical types before comparing objects to see if they
are the same -- 0 and 0.0 compare equal but should be considered different
here!
1991-07-01 18:44:20 +00:00
Guido van Rossum 89d55cad95 Call coerce() in arithmetic operations, to support mixed mode arithmetic 1991-07-01 18:43:13 +00:00
Guido van Rossum c6bb8f7ab2 Add and use coerce() routine for mixed mode arithmetic 1991-07-01 18:42:41 +00:00
Guido van Rossum 22825e86f6 Initial revision 1991-07-01 18:32:32 +00:00
Guido van Rossum 2fa5a7fc00 Use posix.popen to read output from a command instead if command.get*. 1991-07-01 18:23:06 +00:00
Guido van Rossum 9c5c80824c Renamed path.cat to path.join. 1991-07-01 18:22:34 +00:00
Guido van Rossum c3f2a3bf93 Strip redundant -P from arguments; only print 'ahead' count
if other users present in queue.
1991-07-01 18:21:32 +00:00
Guido van Rossum bcf5012887 Add options -amc; do lstat if possible; columnize properly. 1991-07-01 18:20:35 +00:00
Guido van Rossum 30a685f0fe Many changes to the interface, and added comments. 1991-06-27 15:51:29 +00:00
Guido van Rossum 6574b3ee25 Initial revision 1991-06-25 21:36:08 +00:00
Guido van Rossum d6a15ada72 Generalize to macintosh. 1991-06-24 22:30:42 +00:00
Guido van Rossum 1e2293d1f7 Define 'macintosh' if THINK_C is defined. 1991-06-24 22:30:14 +00:00
Guido van Rossum 247ff718df Don't use printobject() to print a string (filename).
Print ';' instead of ',' between file and line for MPW.
1991-06-24 22:25:27 +00:00
Guido van Rossum 1d2a9ade93 Generalize to macintosh; forget Think 3.0. 1991-06-24 22:23:45 +00:00
Guido van Rossum 76f2f2ef67 Apparently MPW has power() instead of pow(). 1991-06-24 22:23:10 +00:00
Guido van Rossum 49e85146e2 printobject now returns an error code
Remove superfluous err_nomem() call
,
1991-06-07 22:59:30 +00:00
Guido van Rossum bcaa31c411 printobject now returns an error code
Remove superfluous err_nomem() call
1991-06-07 22:58:57 +00:00
Guido van Rossum 76085b95b9 Remove StopPrint hack 1991-06-07 22:50:34 +00:00
Guido van Rossum d783a46d73 printobject now returns an error code 1991-06-07 22:35:42 +00:00
Guido van Rossum 909336104b printobject now returns an error code 1991-06-07 16:10:43 +00:00
Guido van Rossum dd0108081b Mention "-c command" option. 1991-06-07 14:31:11 +00:00
Guido van Rossum 689e701919 Add run_command() to implement "-c command". 1991-06-07 13:59:53 +00:00
Guido van Rossum 971443b7d4 Getpgrp() has a parameter, at least on BSD! 1991-06-07 13:59:29 +00:00
Guido van Rossum 56b07c8ad9 When printing an error message, don't choke if tok->buf is NULL. 1991-06-07 13:58:56 +00:00
Guido van Rossum 64b4552069 Add marshalling for dictionaries. 1991-06-07 13:58:22 +00:00