Commit Graph

2350 Commits

Author SHA1 Message Date
Jack Jansen 9c96a923fb Added hooks to support importing pyc code from a resource on the mac. 1995-02-15 22:57:06 +00:00
Jack Jansen 3cfc8bd841 exec_dode_object/PyImport_ExecCodeObject is now externally visible 1995-02-15 22:55:45 +00:00
Guido van Rossum d1883588ae added docs for pickle, shelve and copy 1995-02-15 15:53:08 +00:00
Guido van Rossum e1ff7adbf6 added lots of useful info 1995-02-15 15:52:32 +00:00
Guido van Rossum 4f4c9b42ba make __import__ 4-args 1995-02-15 15:52:13 +00:00
Guido van Rossum 194e57caa6 added chapter on new things in 1.2 1995-02-15 15:51:38 +00:00
Guido van Rossum 3075b326c4 different #ifdefs 1995-02-14 09:48:02 +00:00
Guido van Rossum 872eeebf6d completed aete decoded now that I have the docs 1995-02-14 09:47:42 +00:00
Guido van Rossum 4c14a69ff9 fix version number 1995-02-14 09:46:19 +00:00
Guido van Rossum a3966e7563 ... 1995-02-14 09:44:28 +00:00
Guido van Rossum d4837daa8d added some clarifying comments about -lcrypt and Tk 4.0 1995-02-14 09:43:25 +00:00
Guido van Rossum 24c137432c call __import__() with 4 args instead of 1 1995-02-14 09:42:43 +00:00
Guido van Rossum becdbec806 ported to Think C 1995-02-14 01:27:24 +00:00
cvs2svn e2aaa9dd61 This commit was manufactured by cvs2svn to create tag 'r12beta3'. 1995-02-14 00:58:59 +00:00
Guido van Rossum ee1813de2a fix stupid bug in strip and split 1995-02-14 00:58:59 +00:00
Jack Jansen 26a9f7467f Some of Guido's bgen modules aren't think-only anymore 1995-02-13 22:47:02 +00:00
Jack Jansen 6cfab2346c Changed PyMac_GetPythonDir to use a preferences file to store the
alias resource. Also added a few comments.
1995-02-13 22:46:00 +00:00
Jack Jansen fc0ff42034 Open library resource file read-only 1995-02-13 22:43:38 +00:00
Jack Jansen 4e04373073 Added code to import dynamic modules using mac CFM. 1995-02-13 22:42:34 +00:00
Guido van Rossum f2038a3593 version 1.2-beta-3 1995-02-13 20:27:30 +00:00
Guido van Rossum af07a44428 the usual 1995-02-13 19:45:27 +00:00
Guido van Rossum 57c33af90e tack compiler name/version to version string if known 1995-02-13 17:10:11 +00:00
Guido van Rossum 67ca701939 NeXT/Sparc 3.3 fix 1995-02-13 16:38:41 +00:00
Guido van Rossum 5693412892 malloc debug only on ppc 1995-02-13 16:19:04 +00:00
Guido van Rossum e9f29bf4ca remove unused vars 1995-02-13 16:18:02 +00:00
Guido van Rossum cc9bc8f824 null-terminate the error string in macstrerror 1995-02-13 16:17:03 +00:00
Guido van Rossum e6c884cadb added QuickDraw 1995-02-13 16:16:22 +00:00
Guido van Rossum b95ff40e29 adapted to 1.2 1995-02-13 16:15:31 +00:00
Guido van Rossum 42e193605d add class exceptions 1995-02-13 14:39:19 +00:00
Guido van Rossum 38862dfe22 new example that Matt posted to comp.lang.python 1995-02-13 14:23:38 +00:00
Jack Jansen c889b760d7 Added RawFSSpec and RawAlias methods which turn their string arguments
into fsspec and alias objects.
1995-02-13 12:00:46 +00:00
Jack Jansen bd06e96217 mac changes:
- Assume files of types 'PYC ' and 'APPL' are compiled python code
- For mwerks, show status line when program has terminated while
  keeping window open.
1995-02-13 11:44:56 +00:00
Jack Jansen 7467ce3eea Startup code for applications using the python shared
library. Modified because the startup code has to work together with
the runtime support in the shared library.
1995-02-13 11:41:40 +00:00
Jack Jansen 2e4679db8e Glue for the python shared library: an init routine that remembers
where we're loaded from and PyMac_AddLibResources() which adds that
file to the resource file list.
1995-02-13 11:39:17 +00:00
Jack Jansen c6647c6079 Mwerks header files for shared python and the applet template 1995-02-13 11:37:31 +00:00
Jack Jansen 0f6ca80e71 Use PyMac_GetPythonDir() to obtain python homedir
fileargument moved here from macmain.c
1995-02-13 11:36:25 +00:00
Jack Jansen f950f8d414 Various changes wrt shared-library python:
- Moved fileargument to config.c
- Added PyMac_AddLibResources() call in case of shlib python
- Build argc/argv differently in case of applet template
1995-02-13 11:35:34 +00:00
Jack Jansen 8cd2b720f6 Added PyMac_GetPythonDir routine which obtains python home directory
from an alias resource (or from the user). Note: this uses a dialog
resource so there's an accompanying change in the resource file.
1995-02-13 11:33:28 +00:00
Jack Jansen b3642579fd Added getfiletype routine 1995-02-13 11:31:51 +00:00
Guido van Rossum 7f7f274839 use Py_CHARMASK 1995-02-10 17:01:56 +00:00
Guido van Rossum 760dd1031a add some casts 1995-02-10 17:01:08 +00:00
Guido van Rossum 9fa2c11613 use Py_CHARMASK; and don't check for neg. float to the float power here 1995-02-10 17:00:37 +00:00
Guido van Rossum 2497eada60 make size arg signed 1995-02-10 17:00:27 +00:00
Guido van Rossum 2165158ab3 test for float to the float power here 1995-02-10 16:57:16 +00:00
Guido van Rossum b7d3d4e5d6 make newvarobj's size arg signed 1995-02-10 16:55:33 +00:00
Guido van Rossum 10f8efd87a add Py_CHARMASK 1995-02-10 16:51:02 +00:00
Guido van Rossum cc6764c1ba added __doc__ strings etc. 1995-02-09 17:18:10 +00:00
Guido van Rossum 6de668f3aa test class exceptions 1995-02-09 10:28:43 +00:00
Guido van Rossum 077793581d version 1.20 1995-02-07 16:59:56 +00:00
Guido van Rossum a3c3f2c5b0 use PyCallable_Check; export TK_VERSION and TCL_VERSION strings;
some Tk 4.0 specific changes
1995-02-07 15:41:02 +00:00