Commit Graph

406 Commits

Author SHA1 Message Date
Guido van Rossum
9d78d8d2fb spell TraceBack with capital B 1995-09-18 21:29:36 +00:00
Sjoerd Mullender
6ec3c653da Implemented two new functions in sys:
getcounts() returns a list of counts of allocations and
		deallocations for all different object types.
	getobjects(n [, type ]) returns a list of recently allocated
		and not-yet-freed objects of the given type (all
		objects if no type given).  Only the n most recent
		(all if n==0) objects are returned.
getcounts is only available if compiled with -DCOUNT_ALLOCS,
getobjects is only available if compiled with -DTRACE_REFS.  Note that
everything must be compiled with these options!
1995-08-29 09:18:14 +00:00
Guido van Rossum
05870115fc rd_object() with exception is fatal error 1995-08-28 02:56:20 +00:00
Guido van Rossum
69f6ee6a9d err_badcall() is fatal error 1995-08-28 02:55:48 +00:00
Guido van Rossum
667d704997 Initial revision 1995-08-04 04:20:48 +00:00
Guido van Rossum
e3e61c1642 empty kw dict is ok for builtins 1995-08-04 04:14:47 +00:00
Guido van Rossum
a1633cd993 split cofnfig.c in 1000 little files :-) 1995-08-04 04:13:00 +00:00
Guido van Rossum
47ad5e7d81 moved stuff around to resemble main.c 1995-08-04 04:10:43 +00:00
Guido van Rossum
6ec1efb645 add imp.get_frozen_object() 1995-08-04 04:08:57 +00:00
Guido van Rossum
b7b45627e8 avoid resize of 0-length tuple 1995-08-04 04:07:45 +00:00
Jack Jansen
21eb0b56a8 mac CW-only fix for messy windows upon exit 1995-07-29 13:55:06 +00:00
Jack Jansen
b7d0df4a91 Allow mac user to set "command line flags" by option-starting python. 1995-07-29 13:53:59 +00:00
Guido van Rossum
0db1ef96ac fix bogus DECREF in finally clause 1995-07-28 23:06:00 +00:00
Jack Jansen
614cf81606 Undef 'argument' before including mac headers 1995-07-28 11:28:14 +00:00
Guido van Rossum
ff8b494cf0 changes for keyword args to built-in functions and classes 1995-07-26 18:16:42 +00:00
Guido van Rossum
ce0a6ded4d never close the file in imp.load_... 1995-07-26 18:13:27 +00:00
Guido van Rossum
53bb7fff11 be more suspicious of getlocals() 1995-07-26 16:26:31 +00:00
Guido van Rossum
681d79aaf3 keyword arguments and faster calls 1995-07-18 14:51:37 +00:00
Guido van Rossum
11a3f0c2bc NT specific change for nicer error message (Mark H) 1995-07-18 14:40:09 +00:00
Guido van Rossum
32120311ed rename arglist to alist (conflict with new grammar symbol) 1995-07-10 13:52:21 +00:00
Guido van Rossum
f10570b9eb 3rd arg for raise; INCOMPLETE keyword parameter passing (currently f(kw=value) is seen as f('kw', value)) 1995-07-07 22:53:21 +00:00
Guido van Rossum
7faeab3103 new MAGIC; some changes to default files for imp.load_... functions 1995-07-07 22:50:36 +00:00
Guido van Rossum
e78c5d0a16 ignore control-l (parallelling change to tokenizer.c) 1995-07-07 22:45:41 +00:00
Guido van Rossum
aaf18390ee added sys.platform 1995-07-07 22:45:02 +00:00
Guido van Rossum
e40bddc3ef new grammar 1995-07-07 22:44:10 +00:00