Guido van Rossum
25c649fdf2
Get rid of another reference to _PyImport_Inittab (now a static array)
...
that should be PyImport_Inittab (a new pointer initialized to point to
the array).
1997-11-04 17:04:34 +00:00
Guido van Rossum
6c1e5f2033
Get DLL version from a variable.
1997-09-29 23:34:23 +00:00
Guido van Rossum
622f73f188
Remove unised variable
1997-08-07 19:22:48 +00:00
Guido van Rossum
25ce566661
The last of the mass checkins for separate (sub)interpreters.
...
Everything should now work again.
See the comments for the .h files mass checkin (e.g. pystate.h) for
more detail.
1997-08-02 03:10:38 +00:00
Guido van Rossum
534ac094f9
Removed a bunch of extern declarations of functions that are now
...
properly declared in Python.h.
1997-07-19 19:51:43 +00:00
Guido van Rossum
b2c8ec4b75
Set sys.executable to full path of python (from argv[0]).
1997-05-22 20:41:20 +00:00
Guido van Rossum
1254d79dfa
Use #ifdef in stead of #if (Jack)
1997-05-20 15:57:25 +00:00
Guido van Rossum
a027efa5bf
Massive changes for separate thread state management.
...
All per-thread globals are moved into a struct which is manipulated
separately.
1997-05-05 20:56:21 +00:00
Guido van Rossum
bb5c6f8529
Oops, forgot one: inittab.
1997-04-29 20:42:30 +00:00
Guido van Rossum
65bf9f265e
Quickly renamed.
1997-04-29 18:33:38 +00:00
Guido van Rossum
c474deaaf6
Expand one level of symbolic link in sys.argv[0] before inserting its
...
dirname in sys.path. This means that you can create a symbolic link
foo in /usr/local/bin pointing to /usr/yourname/src/foo/foo.py, and
then invoking foo will insert /usr/yourname/src/foo in sys.path, not
/usr/local/bin. This makes it easier to have multifile programs
(before, the program would have to do an os.readlink(sys.argv[0])
itself and insert the resulting directory in sys.path -- Grail does
this).
Note that the expansion is only used for sys.path; sys.argv[0] is
still the original, unadorned filename (/usr/local/bin/foo in the
example).
1997-04-25 15:38:31 +00:00
Guido van Rossum
43f1b8d6e4
Added optional interface for dynamic execution profile (to be gathered
...
in ceval.c).
1997-01-24 04:07:45 +00:00
Guido van Rossum
8f49e12a0e
Make builtin_module_names a tuple instead of a list.
1997-01-06 22:55:54 +00:00
Guido van Rossum
d266eb460e
New permission notice, includes CNRI.
1996-10-25 14:44:06 +00:00
Guido van Rossum
9b38a145e2
Rationalized MS ifdefs
1996-09-11 23:12:24 +00:00
Guido van Rossum
cc88341e6d
Changes to setpythonpath():
...
Test for / as well as for SEP for MS filenames.
Drop trailing separator from sys.path[0] for MS and Unix filenames.
1996-09-10 14:44:21 +00:00
Guido van Rossum
8b9ea873ad
Use MS_DLL_ID as sys.winver
1996-08-23 18:14:47 +00:00
Guido van Rossum
94a9667f1a
Always insert script directory in front of sys.path -- if there's no
...
sys.argv, insert "". Note that "." is removed as a default component
of the path (see changes to getpath.c and Setup.in).
1996-07-30 20:35:50 +00:00
Guido van Rossum
a63d9f4d9f
As a side effect of calling PySys_SetArgv (setpythonargv), the
...
directory containing argv[0] is inserted in front of sys.path.
If argv[0] contains no directory, an empty string is inserted.
If argv is empty, nothing happens.
1996-07-24 01:31:37 +00:00
Guido van Rossum
6f489d989d
Slightly different Windows ifdefs
1996-06-28 20:15:15 +00:00
Guido van Rossum
8fa9b6f932
Define sys.prefix and sys.exec_prefix (see Modules/getpath.c; from Makefile).
1996-06-17 17:02:48 +00:00
Guido van Rossum
ded690fc35
rename printrefs, getobjects to _Py_ prefix
1996-05-24 20:48:31 +00:00
Guido van Rossum
7f3f2c1819
TRACE_REFS -> Py_TRACE_REFS
1996-05-23 22:45:41 +00:00
Guido van Rossum
c606fe186f
Under NT, define sys.dllhandle and sys.winver (Mark H.).
1996-04-09 02:37:57 +00:00
Guido van Rossum
b0352fa3fc
fix args options for setcheckinterval
1996-01-12 01:15:01 +00:00