Guido van Rossum
6c849697fd
Fix various potential buffer overrun problems.
1994-09-26 15:47:17 +00:00
Guido van Rossum
798199d8a6
* Python/pythonrun.c (print_error): print only last line of
...
multi-line source line
1994-09-19 08:08:50 +00:00
Guido van Rossum
a96720907a
* Python/ceval.c (eval_code): added registry of pending functions
...
(to be used by functions that are called asynchronously, like
UNIX signal handlers or Mac I/O completion routines)
1994-09-14 13:31:22 +00:00
Guido van Rossum
fdef271550
* Import/pythonrun.h, Python/{import,pythonrun}.c,
...
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
1994-09-14 13:31:04 +00:00
Guido van Rossum
ae311bd503
Mods for HP-UX dynamic loading.
1994-09-12 10:39:56 +00:00
Guido van Rossum
1662dd5a3d
added Py_AtExit() -- register cleanup functions for C modules
1994-09-07 14:38:28 +00:00
Guido van Rossum
e4ab6475f1
* Python/getmtime.c: Remove mac specifics (Mac subdirectory has
...
its own version now)
* Python/bltinmodule.c (builtin_tuple): use pre-existing
listtuple(v) for lists
1994-08-30 12:38:05 +00:00
Guido van Rossum
9717991b78
Merge back to main trunk
1994-08-30 09:33:45 +00:00
Guido van Rossum
1d5735e846
Merge back to main trunk
1994-08-30 08:27:36 +00:00
Guido van Rossum
e59214ed91
call_object: print message before abort()
1994-08-30 08:01:59 +00:00
Guido van Rossum
74e6a118ca
* Python/import.c: support *.o/*.so as alternative for
...
*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
1994-08-29 12:54:38 +00:00
Guido van Rossum
14144fcdfd
Added delattr()
1994-08-29 12:53:40 +00:00
Guido van Rossum
cae027b298
* Python/bltinmodule.c: added tuple() builtin
1994-08-29 12:53:11 +00:00
Guido van Rossum
df05ac6dfb
Python/bltinmodule.c: mods by Andrew Kuchling to implement
...
pow(x,y,z) == pow(x,y)%z, but without incurring overflow
1994-08-29 12:52:37 +00:00
Guido van Rossum
2d9518585c
* Python/bltinmodule.c (builtin_vars): correct typo in error msg
1994-08-29 12:52:16 +00:00
Guido van Rossum
a110aa658b
* Python/pythonrun.c (print_error): added INCREF/DECREF pair --
...
the exception returned by a syntax error (when reported) would
contain an object with refcnt zero!
MPW changes
1994-08-29 12:50:44 +00:00
Guido van Rossum
4ca6c9db81
* Python/compile.c (com_argdefs, com_arglist): avoid referencing
...
CHILD(n,i) for i >= NCH(n)
1994-08-29 12:16:12 +00:00
Guido van Rossum
3a24181837
err_clear: clear interpreter stack trace
1994-08-29 12:14:12 +00:00
Guido van Rossum
13836d9e6d
add function name to traceback info
...
MPW fixes
1994-08-29 12:09:58 +00:00
Guido van Rossum
ba941eba67
MPW changes
1994-08-29 10:43:12 +00:00
Guido van Rossum
24f4850377
errors.c: clear traceback too.
...
Makefile.in: remove lib*.a before creating new one.
1994-08-19 15:37:11 +00:00
Guido van Rossum
14aa5da824
version.c is no longer...
1994-08-18 16:03:36 +00:00
Guido van Rossum
b6775db241
Merge alpha100 branch back to main trunk
1994-08-01 11:34:53 +00:00
Guido van Rossum
abe173a225
Replace intrcheck() by sigcheck() in many places.
...
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!
1994-06-03 15:58:29 +00:00
Guido van Rossum
6f5f8ddeaf
Fix waiting for children -- save ppid in pidlist as well.
1994-05-30 13:39:05 +00:00