/* XXX To do: exece, execp */
static object *
-posix_exec(self, args)
+posix_execv(self, args)
object *self;
object *args;
{
int i, argc;
object *(*getitem) PROTO((object *, int));
- /* exec has two arguments: (path, argv), where
+ /* execv has two arguments: (path, argv), where
argv is a list or tuple of strings. */
if (!getargs(args, "(sO)", &path, &argv))
#ifndef MSDOS
{"_exit", posix__exit},
- {"exec", posix_exec},
+ {"execv", posix_execv},
{"fork", posix_fork},
{"getegid", posix_getegid},
{"geteuid", posix_geteuid},
initbuiltin()
{
object *m;
- m = initmodule("builtin", builtin_methods);
+ m = initmodule("__builtin__", builtin_methods);
builtin_dict = getmoduledict(m);
INCREF(builtin_dict);
initerrors();
/* Magic word to reject .pyc files generated by other Python versions */
-#define MAGIC 0x999901L /* Increment by one for each incompatible change */
+#define MAGIC 0x999902L /* Increment by one for each incompatible change */
static object *modules;