summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
AgeCommit message (Collapse)AuthorLines
1995-08-29Implemented two new functions in sys:Sjoerd Mullender-0/+34
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-07-07added sys.platformGuido van Rossum-0/+3
1995-03-30init sys_checkinterval to 10Guido van Rossum-1/+1
1995-03-20fix comment about exit()Guido van Rossum-1/+1
1995-02-21add explicit 0 flags for methodlistGuido van Rossum-5/+5
1995-01-09sys.check_interval=x -> sys.setcheckinterval(x)Guido van Rossum-0/+13
1995-01-04Added 1995 to copyright message.Guido van Rossum-2/+2
bltinmodule.c: fixed coerce() nightmare in ternary pow(). modsupport.c (initmodule2): pass METH_FREENAME flag to newmethodobject(). pythonrun.c: move flushline() into and around print_error().
1995-01-02Lots of changes, most minor (fatal() instead of abort(), use ofGuido van Rossum-1/+2
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.
1994-08-30Merge back to main trunkGuido van Rossum-6/+16
1993-01-26* Added Fixcprt.py: script to fix copyright message.Guido van Rossum-2/+21
* various modules: added 1993 to copyright. * thread.c: added copyright notice. * ceval.c: minor change to error message for "+" * stdwinmodule.c: check for error from wfetchcolor * config.c: MS-DOS fixes (define PYTHONPATH, use DELIM, use osdefs.h) * Add declaration of inittab to import.h * sysmodule.c: added sys.builtin_module_names * xxmodule.c, xxobject.c: fix minor errors
1992-09-25Modified most (but not yet all) I/O to always go through sys.stdout orGuido van Rossum-1/+1
sys.stderr or sys.stdin, and to work with any object as long as it has a write() (respectively readline()) methods. Some functions that took a FILE* argument now take an object* argument.
1992-09-03Add an optional interface to turn malloc debugging on and off.Guido van Rossum-0/+21
1992-06-19sysmodule.c: calling sys.settrace() or sys.setprofile() withoutGuido van Rossum-2/+2
arguments crashed in INCREF() calls which should be XINCREF() calls. timemodule.c: fix for SEQUENT port (sys/select, struct timezone) by Jaap Vermeulen xxobject.c: include modsupport.h
1992-04-05Fix reference counts of sys_trace and sys_profileGuido van Rossum-3/+7
1992-03-23Added settrace() and setprofile().Guido van Rossum-13/+30
1992-01-26sysset(name, NULL) does nothing if sys.name is undefinedGuido van Rossum-2/+6
1992-01-14Ensure that sys.argv[0] always exists (maybe as empty string).Guido van Rossum-2/+6
1991-12-31Raise SystemExit instead of calling goaway().Guido van Rossum-6/+3
1991-12-10Added sys.version object.Guido van Rossum-1/+5
1991-06-24Generalize to macintosh.Guido van Rossum-1/+1
1991-06-04Added fclose to newopenfileobject() calls.Guido van Rossum-4/+4
1991-05-05Defined path delimiter for MS-DOS as semicolonGuido van Rossum-0/+4
1991-02-19Added copyright notice.Guido van Rossum-0/+24
1990-12-20"Compiling" versionGuido van Rossum-100/+99
1990-11-18Empty all modules' symbol tables, so most circular references areGuido van Rossum-6/+41
cleared up. (A function definition references its module's symbol table but the symbol table of course references the function...)
1990-10-14Initial revisionGuido van Rossum-0/+156