0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 03:01:36 +01:00
Commit Graph

147 Commits

Author SHA1 Message Date
Guido van Rossum
c1b5cec10e *** empty log message *** 1992-03-24 13:46:39 +00:00
Guido van Rossum
e2437a191d Added settrace() and setprofile(). 1992-03-23 18:20:18 +00:00
Guido van Rossum
9c8d70de45 New trace implementation; and profile (in a similat vein). 1992-03-23 18:19:28 +00:00
Guido van Rossum
56a1bcc107 Totally get rid of silly '\E' escape. 1992-03-12 17:36:11 +00:00
Guido van Rossum
22ebe2f4a7 Strip leading whitespace from input(). 1992-03-12 17:33:52 +00:00
Guido van Rossum
f08ab0ad15 Skip leading whitespace of eval() string argument. 1992-03-04 16:41:41 +00:00
Guido van Rossum
c4adc83378 Set sys.last_{type,value} to characteristics of last unhandled exception. 1992-03-04 16:39:39 +00:00
Guido van Rossum
299a734744 Tighten error handling of string printing. 1992-03-04 16:39:08 +00:00
Guido van Rossum
d8bac6de57 Move SEP to osdefs.h. Use MAXPATHLEN from osdefs.h. 1992-02-26 15:19:13 +00:00
Guido van Rossum
7169dbb76d Move printing of filename and lineno to tb_displayline.
Search sys.path if the filename isn't found.
Include osdefs.h.
1992-02-26 15:17:59 +00:00
Guido van Rossum
0f61f8a4bd Added execfile(). 1992-02-25 18:55:05 +00:00
Guido van Rossum
9b1d33b105 Use correct prototype for invert(). 1992-02-11 15:56:02 +00:00
Guido van Rossum
5778949295 Get rid of comment about open(). 1992-02-05 11:17:52 +00:00
Guido van Rossum
16dfd29e44 Limit length of name passed to sprintf. 1992-02-05 11:17:30 +00:00
Guido van Rossum
c4884007f9 EOF in source is a SyntaxError, not an EOFError. 1992-02-05 11:16:47 +00:00
Guido van Rossum
4ddf8cc408 Get rid of "Unhandled exception: " altogether. 1992-02-05 11:16:28 +00:00
Guido van Rossum
33894be657 Added getattr and setattr built-in functions. 1992-01-27 16:53:09 +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
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
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
598fd8c980 Raise SyntaxError for syntax errors detected in this phase. 1992-01-26 18:12:03 +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
e25c25635e Support for dynamic loading added. 1992-01-19 16:28:21 +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
c6515d12b7 tb_here() can now get the lasti and lineno arguments from the frame. 1992-01-14 18:44:48 +00:00
Guido van Rossum
ee3a299c39 Ensure that sys.argv[0] always exists (maybe as empty string). 1992-01-14 18:42:53 +00:00
Guido van Rossum
23d5cdebac New version from the net. 1992-01-14 18:42:23 +00:00
Guido van Rossum
cc59e94899 Don't depend on patchlevel.h. 1992-01-14 18:40:47 +00:00
Guido van Rossum
49d6dc4123 Added varargs code. 1992-01-14 18:30:26 +00:00
Guido van Rossum
6a3f9a841a Added UNPACK_VARARG code. 1992-01-14 18:29:20 +00:00
Guido van Rossum
39d942da0f add READONLY to member list. 1992-01-12 02:30:05 +00:00
Guido van Rossum
96a42c85bc User trace feature. 1992-01-12 02:29:51 +00:00
Guido van Rossum
626dae7a42 Fix bug in assign_slice for negative index; used length of wrong object! 1992-01-10 00:28:07 +00:00
Guido van Rossum
46b1638044 Stop option processing immediately after "-c command",
leaving additional options for the command to handle.
1992-01-02 16:16:18 +00:00
Guido van Rossum
6a468bf71c Raise SystemExit instead of calling goaway(). 1991-12-31 13:15:35 +00:00
Guido van Rossum
5afc74757b Clear errno, just to be sure. 1991-12-31 13:15:19 +00:00
Guido van Rossum
a534ed3ee7 Catch SystemExit and go away if it is caught. 1991-12-31 13:14:48 +00:00
Guido van Rossum
768a3f0ab8 Added SystemExit. 1991-12-31 13:13:47 +00:00
Guido van Rossum
a9df32ab2a Minor changes. 1991-12-31 13:13:35 +00:00
Guido van Rossum
54a41d6366 Don't rely on <string.h> 1991-12-24 13:29:10 +00:00
Guido van Rossum
4135e78204 Use IOError and ImportError when import fails. 1991-12-24 13:26:56 +00:00
Guido van Rossum
86d8e63433 EOF while parsing should raise EOFError, not SyntaxError. 1991-12-24 13:26:15 +00:00
Guido van Rossum
98256aa518 Negative subscript are now allowed as in slices.
Added ImportError.
1991-12-24 13:25:19 +00:00
Guido van Rossum
ed7711b7cb Sorted exceptions; added ImportError. 1991-12-24 13:24:53 +00:00
Guido van Rossum
6e93c07a06 Change RuntimeError into IOError when module file not found on reload. 1991-12-16 15:43:47 +00:00
Guido van Rossum
fb905c3ebf Regularize exceptions. 1991-12-16 15:42:38 +00:00
Guido van Rossum
efb087b13f Changed some RuntimeErrors. 1991-12-16 15:41:41 +00:00