Commit Graph

36640 Commits

Author SHA1 Message Date
Guido van Rossum 4b3c1da660 Added/moved dict2 interfaces. 1991-08-16 09:00:42 +00:00
Guido van Rossum b316515289 Changed some interfaces after error reports from Liberte.
Added altgetmatrix (better but incompatible).
1991-08-16 08:59:21 +00:00
Guido van Rossum 3fecef73d9 Added initfl() call when USE_FL is define. 1991-08-16 08:58:56 +00:00
Guido van Rossum 831632507a Use dmore dict2lookup. 1991-08-16 08:58:43 +00:00
Guido van Rossum 670690e2aa Reflect changed file name in comments. 1991-08-16 08:57:40 +00:00
Guido van Rossum df62e44f38 Changed many calls to dict stufff to dict2 variants.
*** Somehow the call to printobject was changed back to fwrite?!?! ***
1991-08-16 08:56:04 +00:00
Guido van Rossum 4f4a55b90c Change getbuiltin interface to get the name as an object. 1991-08-16 08:55:53 +00:00
Guido van Rossum a57fb011f1 Change getbuiltin interface to get the name as an object;
call dict2lookup insteead of dictlookup.
1991-08-16 08:54:58 +00:00
Guido van Rossum abe5835b4f Fixed almost all list errors. 1991-08-08 12:34:44 +00:00
Guido van Rossum 0374711fb3 Lots of cosmetic changes.
Lots of small bugfixes (lint!).
Made bgn_group and end_group form methods instead of top-level functions.
1991-08-08 12:10:01 +00:00
Guido van Rossum 75cc8980e8 Adde get_mouse and find_first/find_last (by robertl) 1991-08-08 12:07:45 +00:00
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