summaryrefslogtreecommitdiff
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* Lots of changes, most minor (fatal() instead of abort(), use ofGuido van Rossum1995-01-0215-995/+1777
| | | | | | 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.
* Added comment symbols around word after #endif.Sjoerd Mullender1994-12-141-1/+1
|
* - Added ability to get at strings embedded in the structJack Jansen1994-12-141-1/+23
| | | | - For the mac, added ability to get at pascal-style strings
* Removed extraneous fclose() in case of .pyc file argumentJack Jansen1994-12-141-1/+1
|
* Added hook for better mac error messages.Jack Jansen1994-12-141-0/+10
|
* replace abort() calls by fatal()Guido van Rossum1994-11-101-14/+6
|
* set name to <lambda> instead of None for lambdasGuido van Rossum1994-11-101-7/+2
|
* prevent core dump for old getargs() with NULL argGuido van Rossum1994-11-101-0/+7
|
* call err_clear in err_setvalGuido van Rossum1994-11-101-2/+2
|
* fix pow() core dumpGuido van Rossum1994-11-101-1/+1
|
* add getargs.o:getargs.c ruleGuido van Rossum1994-10-111-0/+1
|
* Plug memory leak for code objectsGuido van Rossum1994-10-051-0/+1
|
* * Python/ceval.c, Include/ceval.h: promote MakePendingCalls toGuido van Rossum1994-09-292-10/+48
| | | | | | | | | | global: Py_MakePendingCalls. Also guard against recursive calls * Include/classobject.h, Objects/classobject.c, Python/{ceval.c,bltinmodule.c}: entirely redone operator overloading. The rules for class instances are now much more relaxed than for other built-in types (whose coerce must still return two objects of the same type)
* * Python/{modsupport.c,getargs.c,Makefile.in},Guido van Rossum1994-09-293-341/+588
| | | | | | | Include/modsupport.h: moved getargs() to its own file and re-implemented it entirely to support optional arguments, multiple arguments without surrounding parentheses (when called as newgetargs()), and better error messages
* * Python/errors.c (err_clear): clear interpreter stack traceGuido van Rossum1994-09-291-1/+5
|
* * Python/pythonrun.c: add string "Python" to fatal error messageGuido van Rossum1994-09-291-1/+1
|
* * Python/pythonmain.c: fatal error if can't alloc mem for -cGuido van Rossum1994-09-291-1/+2
| | | | string
* * Python/traceback.c: security fix -- check for buffer oveflowGuido van Rossum1994-09-291-1/+6
| | | | before concatenating sys.path item and module name
* Fix various potential buffer overrun problems.Guido van Rossum1994-09-261-9/+18
|
* * Python/pythonrun.c (print_error): print only last line ofGuido van Rossum1994-09-191-0/+12
| | | | multi-line source line
* * Python/ceval.c (eval_code): added registry of pending functionsGuido van Rossum1994-09-141-1/+91
| | | | | (to be used by functions that are called asynchronously, like UNIX signal handlers or Mac I/O completion routines)
* * Import/pythonrun.h, Python/{import,pythonrun}.c,Guido van Rossum1994-09-142-1/+58
| | | | | | mac/macsetfiletype.c: changes by Jack to execute .pyc file passed as command line argument. On the Mac .pyc files are given a special type so they can be double-clicked
* Mods for HP-UX dynamic loading.Guido van Rossum1994-09-121-1/+42
|
* added Py_AtExit() -- register cleanup functions for C modulesGuido van Rossum1994-09-071-0/+16
|
* * Python/getmtime.c: Remove mac specifics (Mac subdirectory hasGuido van Rossum1994-08-302-17/+2
| | | | | | its own version now) * Python/bltinmodule.c (builtin_tuple): use pre-existing listtuple(v) for lists
* Merge back to main trunkGuido van Rossum1994-08-301-78/+94
|
* Merge back to main trunkGuido van Rossum1994-08-3011-649/+275
|
* call_object: print message before abort()Guido van Rossum1994-08-301-157/+144
|
* * Python/import.c: support *.o/*.so as alternative forGuido van Rossum1994-08-291-68/+332
| | | | | | | | | | | | | | *module.o/*module.so * Python/import.c: if initializing a module did not enter the module into sys.modules, it may have raised an exception -- don't override this exception. Merged NT changes * Python/import.c: add lost NT-specific code back in Fixed NT changes
* Added delattr()Guido van Rossum1994-08-291-0/+16
|
* * Python/bltinmodule.c: added tuple() builtinGuido van Rossum1994-08-291-0/+71
|
* Python/bltinmodule.c: mods by Andrew Kuchling to implementGuido van Rossum1994-08-291-5/+18
| | | | pow(x,y,z) == pow(x,y)%z, but without incurring overflow
* * Python/bltinmodule.c (builtin_vars): correct typo in error msgGuido van Rossum1994-08-291-101/+211
|
* * Python/pythonrun.c (print_error): added INCREF/DECREF pair --Guido van Rossum1994-08-291-82/+170
| | | | | | the exception returned by a syntax error (when reported) would contain an object with refcnt zero! MPW changes
* * Python/compile.c (com_argdefs, com_arglist): avoid referencingGuido van Rossum1994-08-291-156/+303
| | | | CHILD(n,i) for i >= NCH(n)
* err_clear: clear interpreter stack traceGuido van Rossum1994-08-291-40/+7
|
* add function name to traceback infoGuido van Rossum1994-08-291-15/+15
| | | | MPW fixes
* MPW changesGuido van Rossum1994-08-291-5/+0
|
* errors.c: clear traceback too.Guido van Rossum1994-08-191-1/+2
| | | | Makefile.in: remove lib*.a before creating new one.
* version.c is no longer...Guido van Rossum1994-08-181-1/+0
|
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-015-32/+79
|
* Replace intrcheck() by sigcheck() in many places.Guido van Rossum1994-06-031-0/+43
| | | | | | | | | In Pythonrun, tirn off SIGPIPE and move signal handlers elsewhere. In ceval.c, also move locals_2_fast/ fast_2_locals to frameobject.c, replaced local variable trace by f->f_trace, got rid of unused mergelocals() and unneeded calls to fast_2_locals, return the variable name on "fast variable not found", AND use "__call__" method if it exists to call an inmstance. Whew!
* Fix waiting for children -- save ppid in pidlist as well.Guido van Rossum1994-05-301-14/+34
|
* ceval.c: dict of local mapping is now a tupleGuido van Rossum1994-05-236-6/+43
| | | | | | | compile.c: lists and dictionary in code objects become tuples import.c: bump MAGIC thread*.[ch]: added thread_ident() function version.c: added '++' to version number and bumped date
* Tim's changes; removed some remaining non-functional ifdefsGuido van Rossum1994-05-113-94/+89
|
* Split thread.c into a number of system-specific files.Guido van Rossum1994-05-096-0/+1409
| | | | Added Tim Peters' pthread version.
* New version handles -o<string> same as -o <string>Guido van Rossum1994-04-281-31/+62
|
* A getopt.c for your amusementGuido van Rossum1994-04-141-0/+54
|
* Misc changes.Guido van Rossum1993-12-241-27/+33
|
* New files.Guido van Rossum1993-12-244-0/+279
|