comparison Python/traceback.c @ 2052:d7e91437f0a2 legacy-trunk

Lots of changes, most minor (fatal() instead of abort(), use of err_fetch/err_restore and so on). But... NOTE: import.c has been rewritten and all the DL stuff is now in the new file importdl.c.
author Guido van Rossum <guido@python.org>
date Mon, 02 Jan 1995 19:04:15 +0000
parents 0c232194a64f
children d0d0a69b5ca3
comparison
equal deleted inserted replaced
2051:23dfca8aa73b 2052:d7e91437f0a2
256 return 0; 256 return 0;
257 if (!is_tracebackobject(v)) { 257 if (!is_tracebackobject(v)) {
258 err_badcall(); 258 err_badcall();
259 return -1; 259 return -1;
260 } 260 }
261 sysset("last_traceback", v);
262 limitv = sysget("tracebacklimit"); 261 limitv = sysget("tracebacklimit");
263 if (limitv && is_intobject(limitv)) { 262 if (limitv && is_intobject(limitv)) {
264 limit = getintvalue(limitv); 263 limit = getintvalue(limitv);
265 if (limit <= 0) 264 if (limit <= 0)
266 return 0; 265 return 0;