Commit Graph

98 Commits

Author SHA1 Message Date
Guido van Rossum 026de19906 Added PyImport_ImportModuleEx(name, globals, locals, fromlist); this
is like PyImport_ImporModule(name) but receives the globals and locals
dict and the fromlist arguments as well.  (The name is a char*; the
others are PyObject*s).
1997-09-05 07:11:32 +00:00
Guido van Rossum d5f0ce9f28 Added some symbols (I'm afraid more will come). 1997-09-03 16:12:00 +00:00
Guido van Rossum fd91056d59 Change instructions to require use of PCbuild directory (instead of
just recommending it).  At Mark Hammond's request.
1997-09-03 16:11:19 +00:00
Guido van Rossum 9ca064fbb4 At Mark Hammond's suggestion:
- use the DLL versions of the C runtime (!)
- change path settings so intermediate files go to Debug/temp or Release/temp
- add resource file to python15.dll (can't remember what this does)
- add a separate project to build the parser module
1997-09-03 16:10:52 +00:00
Guido van Rossum 64790de195 Added new flags and exceptions; removed AccessError exception. 1997-09-03 01:09:25 +00:00
Guido van Rossum e3c0d5eb34 Added new Py_IsInitalized() API function to test the 'initialized' flag. 1997-08-22 04:20:13 +00:00
Guido van Rossum 8b523f9bd8 Added reop 1997-08-21 02:28:40 +00:00
Guido van Rossum 8a81d27d58 Remove remark on python15.lib being in the Debug subdir only. 1997-08-18 20:58:06 +00:00
Guido van Rossum b27d8d8cf2 Changed the way python15.lib is included in the other projects.
Per Mark Hammond's suggestion, add it to the extra libs in Settings
instead of to the project's source files.
1997-08-18 20:57:13 +00:00
Guido van Rossum 34b359732c No longer used. 1997-08-18 15:46:16 +00:00
Guido van Rossum ff7d104778 DevStudio (CV++ 5.0) Project files. 1997-08-14 23:02:29 +00:00
Guido van Rossum 831c2583c8 Updated for new situation; added VC++ 5.0 info and new path strategies. 1997-08-14 22:57:33 +00:00
Guido van Rossum 4036c9c2a1 Probably the last VC++ 4.2 makefile I'll check in.
After this I will be using 5.0, which has binary workspace files...
1997-08-13 23:08:39 +00:00
Guido van Rossum f644882fb4 Small changes to readme and makefile; tested for 1.5a3! 1997-08-13 23:07:44 +00:00
Guido van Rossum 00b299afea removed getpath_nt.c in favor of revamped getpathp.c 1997-08-13 21:38:04 +00:00
Guido van Rossum eea1449a34 Much rewritten. Added Win32 registry stuff (from getpath_nt.c, which
is now obsolete), and changed the default path calculations.
$PYTHONPATH is now added as a prefix (like it's always been on Unix);
$PYTHONHOME takes precedence over the program pathname; and only one
landmark is needed.
1997-08-13 21:30:44 +00:00
Guido van Rossum 407a22d2ce Made it real. Changed locking() to work with file descriptors instead
of Python file objects.  Added open_osfhandle() (Mark had done some
work for that), get_osfhandle(), setmode(), and the console I/O
functions kbhit(), getch(), getche(), ungetch(), and putch().
1997-08-13 19:57:53 +00:00
Guido van Rossum 8f1b651980 Some changes to make it work on NT; add the directory where the binary
lives to the end of the path.

(Still to do: add $PYTHONPATH to the front instead of using it as is;
add the Win32 registry paths as in getpath_nt.c (which can then
retire).)
1997-08-13 19:55:43 +00:00
Guido van Rossum 0e6ae93894 Moved PyWin_IsWin32s() here. 1997-08-13 19:53:11 +00:00
Guido van Rossum 5137ea9e27 Remove #define main; remove vc40 from PYTHONPATH. 1997-08-13 19:52:26 +00:00
Guido van Rossum 44620646fd Renamed Py_input_hook to PyOS_InputHook.
Also cleaned out some CR's left by the VC++ editor.
1997-08-11 18:57:29 +00:00
Guido van Rossum 29c1ea5af0 Got the new structure working with MSVC 4.2.
main_nt.c is gone -- we can use Modules/python.c now.
Added Mark Hammond's module msvcrt.c (untested).
Added several new symbols.
1997-08-07 00:11:34 +00:00
Guido van Rossum 7a337c1c79 Removed Py_SuppressPrintingFlag flag; added new
PyEval_{Acquire,Release}Thread() calls.
1997-07-19 19:59:06 +00:00
Guido van Rossum f0f7aad30f Added remaining PyThread symbols. 1997-07-16 15:51:52 +00:00
Roger E. Masse 1830afb4da Changed the reference of 'mappingobject.c' to 'dictobject.c' 1997-06-05 22:03:26 +00:00
Guido van Rossum c2d1417615 Added Py_GetProgramFullPath (same as GetProgramName) 1997-05-22 20:45:28 +00:00
Guido van Rossum 39ed1c35e5 Added Py_GetProgramFullPath 1997-05-22 20:45:01 +00:00
Guido van Rossum e34b7de399 Updated Python version no to 1.5.
Noted that we have used VC 4.2 and that 5.x should be able to convert it.
1997-05-19 20:01:57 +00:00
Guido van Rossum 1aa7e3a177 Jim Ahlstrom's contributions for DOS, OS/2, WIN3.1. 1997-05-19 14:16:21 +00:00
Guido van Rossum 082d28912f Added CRLF for Notepad. 1997-05-16 16:24:09 +00:00
Guido van Rossum 29168ce1ed Added CRLF for Notepad. 1997-05-16 16:17:20 +00:00
Guido van Rossum 8cd70c3555 Instructions updated for 1.5. Added the important note to set the
run-library to multithreaded dll.
1997-05-14 21:35:02 +00:00
Guido van Rossum 9348bf8388 Updated, mappingobject -> dictobject plus some other minor things. 1997-05-14 20:47:15 +00:00
Guido van Rossum fcc7704ee9 Typo! \\lib\\<path> should be .\\lib\\<path> 1997-05-14 18:32:32 +00:00
Guido van Rossum 39d6ae7b6c New makefile, for 1.5, with CRLF 1997-05-14 15:54:27 +00:00
Guido van Rossum e0332c7173 Longer default PYTHONPATH will find test, tkinter, and shared modules
in the build tree, when the current directory is the build tree root.
1997-05-13 19:21:22 +00:00
Guido van Rossum ff2ea728b8 Oops -- missed FloatingPointError. 1997-05-09 03:05:16 +00:00
Guido van Rossum c77b921c82 Latest and greatest. 1997-05-09 01:00:56 +00:00
Guido van Rossum 1aceb056d6 Add warning that it's out of date. 1997-05-08 23:44:57 +00:00
Guido van Rossum 22822d78db forgot to rename import_filetab 1997-05-08 23:43:52 +00:00
Guido van Rossum 78089e20b6 Updated vc40.mak for Roger. Includes CRLF! 1997-05-06 21:44:44 +00:00
Guido van Rossum 2e146b332c Use spaces exclusively. 1997-05-06 16:00:32 +00:00
Guido van Rossum 42c2e6ac49 Added cStringIO and cPickle to the supported modules. 1997-05-06 15:59:14 +00:00
Guido van Rossum c339753fb3 Added HAVE_ macros for getpeername, getpid, setvbuf. 1997-05-06 15:58:18 +00:00
Guido van Rossum a1ebdbddb3 Use Python.h, not allobjects.h.
Don't call initall()  (Experimental incompatible change!!!!!!)
1997-05-05 22:18:50 +00:00
Guido van Rossum db9353e17d CloseHandle should be RegCloseKey.
Add extern decl for Py_GetProgramName().
1997-05-05 22:17:45 +00:00
Guido van Rossum 8290e07509 Removed misc outdated stuff for 1.5 1997-05-05 22:14:19 +00:00
Guido van Rossum 7688bbad61 Include Python.h, not allobjects.h (which no longer exists). 1997-05-05 21:45:44 +00:00
Guido van Rossum 2b713b2f67 One more inittab. 1997-04-29 20:46:45 +00:00
Guido van Rossum d69a84b01e use /usr/bin/env 1997-04-02 06:11:55 +00:00