Commit Graph

41799 Commits

Author SHA1 Message Date
Guido van Rossum 576136044c Adde getmargin() method to calculate the width of the margin. 1992-01-27 16:58:21 +00:00
Guido van Rossum 6fd42b8e92 Split in TextWindow and SourceWindow.
Count lines in Python.
1992-01-27 16:58:03 +00:00
Guido van Rossum 0bf32e3c78 Split in a number of subtest for easy maintenance and continued Mac support. 1992-01-27 16:57:38 +00:00
Guido van Rossum fa3da8aa7c Include modsupport.h for getargs(). 1992-01-27 16:53:23 +00:00
Guido van Rossum 33894be657 Added getattr and setattr built-in functions. 1992-01-27 16:53:09 +00:00
Guido van Rossum ef0a00ec0c Use getargs() function. 1992-01-27 16:51:30 +00:00
Guido van Rossum 550fbcc2aa New getargs() function. Define macros with conventional names,
except get*str*arg --> get*Str*arg; get*str*arg fetches a C string.
1992-01-27 16:50:21 +00:00
Guido van Rossum 9c16d7fbac Cal get*Str*arg() instead of get*str*arg(), until the code is fixed. 1992-01-27 16:49:54 +00:00
Guido van Rossum 9db23a8c5f Change prototypes decision. 1992-01-27 16:48:48 +00:00
Guido van Rossum cb4eeddeea Don't print "Unhandled exception: " when one occurs -- just print its name. 1992-01-27 16:48:10 +00:00
Guido van Rossum 3b1a57a4a0 Ported to THINK C. 1992-01-27 16:47:46 +00:00
Guido van Rossum 922cfad5a3 New getargs() function: a single varargs function,
guided by a format string, makes all get*arg() functions unnecessary.
1992-01-27 16:47:03 +00:00
Guido van Rossum d577c0ca90 Fix range error (doc and impl of re_search disagreed!)
Use getargs() function.
Drop re_string from re object.
1992-01-27 16:46:19 +00:00
Guido van Rossum fc58e58cb7 Use getargs() function. 1992-01-27 16:45:55 +00:00
Guido van Rossum 521f81ca26 Retract the rage bugfix, but change the range assertion. 1992-01-26 18:23:48 +00:00
Guido van Rossum 610cdc52ca Add '*' for varargs list. 1992-01-26 18:17:23 +00:00
Guido van Rossum 56cd67ad47 Get rid of redundant type checks.
Define % operator similar to int%int.
1992-01-26 18:16:35 +00:00
Guido van Rossum 5ad58c6aef sysset(name, NULL) does nothing if sys.name is undefined 1992-01-26 18:15:48 +00:00
Guido van Rossum e0513dee58 getbinaryname is now part of dl_loadmod. 1992-01-26 18:15:22 +00:00
Guido van Rossum b7e5160838 Add method to call wsetactive(win). 1992-01-26 18:13:18 +00:00
Guido van Rossum 2d78590183 Make "range" one smaller (discrepancy between doc and source for regex.c!). 1992-01-26 18:12:41 +00:00
Guido van Rossum 598fd8c980 Raise SyntaxError for syntax errors detected in this phase. 1992-01-26 18:12:03 +00:00
Guido van Rossum bd7fd1a225 Use output from h2py. 1992-01-24 12:54:01 +00:00
Guido van Rossum 27060c004e Minor fixes. 1992-01-24 01:12:39 +00:00
Guido van Rossum b53e67837b Initial revision 1992-01-24 01:12:17 +00:00
Guido van Rossum 177dd80799 Experimental version writes the command to a file. 1992-01-24 01:12:00 +00:00
Guido van Rossum babe2bf8f4 Initial revision 1992-01-22 22:21:31 +00:00
Guido van Rossum 68c172e3f2 Change \verb\xxx\ in section titles back to {\tt xxx}. 1992-01-21 11:34:56 +00:00
Guido van Rossum 0f1f9da8e2 Another large run of changes and additions. 1992-01-20 17:10:21 +00:00
Guido van Rossum 5f21dd106f #ifdef'ed an unreachable line out. 1992-01-19 16:49:14 +00:00
Guido van Rossum 8401e5678c Added -d option (increments debugging variable); mostly to get rid
of a compiler warning.
1992-01-19 16:48:36 +00:00
Guido van Rossum acbefefe21 Use strtoul() for oct/hex constants.
Accept * as well as + in varargs arg list.
1992-01-19 16:33:51 +00:00
Guido van Rossum b674c3bba5 Initial revision 1992-01-19 16:32:47 +00:00
Guido van Rossum 1cab95c14d Use Tatu Ylonen's copyleft-free reimplementation of
GNU regular expressions
1992-01-19 16:31:57 +00:00
Guido van Rossum 44c8f69ff2 Added typedef for longobject and declarations for long_{format,scan}. 1992-01-19 16:31:28 +00:00
Guido van Rossum e32e014c7e Add prototypes.
Change / and % to match divmod.
1992-01-19 16:31:05 +00:00
Guido van Rossum 3d09543472 Move the longobject typedef to longobject.h.
Remove some functions that need not be exported.
1992-01-19 16:30:12 +00:00
Guido van Rossum 189e8f9380 Added a header file. 1992-01-19 16:29:05 +00:00
Guido van Rossum 2b16a6feff Make / and % do the same as divmod. 1992-01-19 16:28:51 +00:00
Guido van Rossum e25c25635e Support for dynamic loading added. 1992-01-19 16:28:21 +00:00
Guido van Rossum 450ed49a89 Change versions.
Save argv[0] in global argv0.
1992-01-19 16:27:42 +00:00
Guido van Rossum 8ec25b410c If sys.trace is None, don't trace. For exceptions, only use
the local trace function.
1992-01-19 16:26:13 +00:00
Guido van Rossum 6d80647f7f long_format() is now declared in longobject.h. 1992-01-19 16:25:49 +00:00
Guido van Rossum 670e5a0d92 Another round of careful revisions. 1992-01-17 14:03:20 +00:00
Guido van Rossum 79448288ba Use US paper size. 1992-01-17 10:42:38 +00:00
Guido van Rossum 7b632a6073 Just another intermediate version... 1992-01-16 17:49:21 +00:00
Guido van Rossum 1c462adaa8 Added indexing commands 1992-01-16 17:36:16 +00:00
Guido van Rossum 7ac1c81f4f Added 'r(et)v(al) command.
Added pdd (post-mortem debugging) method to class Pdb.
1992-01-16 13:55:21 +00:00
Guido van Rossum 6fe08b0fe4 Moved documentation out to pdb.doc file.
Moved class Cmd out to module cmd.py.
Rewrote implementation of stack trace to incorporate traceback objects.
1992-01-16 13:50:21 +00:00
Guido van Rossum 7c36ad7f44 New function gettupleslice(v, i, j). 1992-01-14 18:45:33 +00:00