Commit Graph

3084 Commits

Author SHA1 Message Date
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
Guido van Rossum 3fdf58b5cc add socket related constants 1995-02-07 15:39:52 +00:00
Guido van Rossum d1b3481d69 correct typo in utime stub 1995-02-07 15:39:29 +00:00
Guido van Rossum 03e8ffa345 patches for NeXT weirdness 1995-02-07 15:38:56 +00:00
Guido van Rossum f5c6d47e96 clear errors between failing calls to PyArg_Parse 1995-02-07 15:38:32 +00:00
Guido van Rossum 6b6e0aafe5 DECREF result of run_string 1995-02-07 15:36:56 +00:00
Guido van Rossum 0b3449010e init_frozen non-static, frozenmain.c not in Makefile any more 1995-02-07 15:35:27 +00:00
Guido van Rossum 262e124107 print class name for exceptions that are classes 1995-02-07 15:30:45 +00:00
Guido van Rossum 9e89f0a5b3 added callable, removed run_pyc_file 1995-02-07 15:26:59 +00:00
Guido van Rossum eb8b0d20c1 added classes as exceptions 1995-02-07 14:37:17 +00:00
Guido van Rossum 626c1e7882 added libsignal.tex 1995-02-07 14:37:02 +00:00
Guido van Rossum 3c3eda2b7b stuff by jack to create a set of Estr resources 1995-02-05 17:01:45 +00:00
Guido van Rossum 81920f1b75 manually defined Resource() function 1995-02-05 17:01:24 +00:00
Guido van Rossum 315592383e more support for different kinds of objects 1995-02-05 16:59:27 +00:00
Guido van Rossum b19a645b69 more think/mw changes 1995-02-05 16:58:33 +00:00
Guido van Rossum d9ff26b1a0 reorganized class structure so Manualgenerator works again 1995-02-05 16:56:49 +00:00
Guido van Rossum 4df16c7996 read repair instructions from file 1995-02-05 16:56:02 +00:00