summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* fix args options for setcheckintervalGuido van Rossum1996-01-121-1/+1
|
* Implemented two new functions in sys:Sjoerd Mullender1995-08-291-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!
* added sys.platformGuido van Rossum1995-07-071-0/+3
|
* init sys_checkinterval to 10Guido van Rossum1995-03-301-1/+1
|
* fix comment about exit()Guido van Rossum1995-03-201-1/+1
|
* add explicit 0 flags for methodlistGuido van Rossum1995-02-211-5/+5
|
* sys.check_interval=x -> sys.setcheckinterval(x)Guido van Rossum1995-01-091-0/+13
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-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().
* Lots of changes, most minor (fatal() instead of abort(), use ofGuido van Rossum1995-01-021-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.
* Merge back to main trunkGuido van Rossum1994-08-301-6/+16
|
* * Added Fixcprt.py: script to fix copyright message.Guido van Rossum1993-01-261-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
* Modified most (but not yet all) I/O to always go through sys.stdout orGuido van Rossum1992-09-251-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.
* Add an optional interface to turn malloc debugging on and off.Guido van Rossum1992-09-031-0/+21
|
* sysmodule.c: calling sys.settrace() or sys.setprofile() withoutGuido van Rossum1992-06-191-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
* Fix reference counts of sys_trace and sys_profileGuido van Rossum1992-04-051-3/+7
|
* Added settrace() and setprofile().Guido van Rossum1992-03-231-13/+30
|
* sysset(name, NULL) does nothing if sys.name is undefinedGuido van Rossum1992-01-261-2/+6
|
* Ensure that sys.argv[0] always exists (maybe as empty string).Guido van Rossum1992-01-141-2/+6
|
* Raise SystemExit instead of calling goaway().Guido van Rossum1991-12-311-6/+3
|
* Added sys.version object.Guido van Rossum1991-12-101-1/+5
|
* Generalize to macintosh.Guido van Rossum1991-06-241-1/+1
|
* Added fclose to newopenfileobject() calls.Guido van Rossum1991-06-041-4/+4
|
* Defined path delimiter for MS-DOS as semicolonGuido van Rossum1991-05-051-0/+4
|
* Added copyright notice.Guido van Rossum1991-02-191-0/+24
|
* "Compiling" versionGuido van Rossum1990-12-201-100/+99
|
* Empty all modules' symbol tables, so most circular references areGuido van Rossum1990-11-181-6/+41
| | | | | | cleared up. (A function definition references its module's symbol table but the symbol table of course references the function...)
* Initial revisionGuido van Rossum1990-10-141-0/+156