0
0
mirror of https://github.com/python/cpython.git synced 2024-11-28 08:20:55 +01:00
Commit Graph

2318 Commits

Author SHA1 Message Date
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
Guido van Rossum
9bcb641ad4 added Resource(), to create new resources from Python 1995-02-05 16:54:27 +00:00
Guido van Rossum
0818a4c152 get rid of obsolete low-level routines 1995-02-05 16:53:45 +00:00
Guido van Rossum
bcf0854b53 added README 1995-02-05 16:52:24 +00:00
Guido van Rossum
b6aa92ebf1 fix formatting of stack entries 1995-02-03 12:50:04 +00:00
Jack Jansen
08e767bdc5 Under CodeWarrior, make the window go away on exit(0) 1995-02-02 14:30:20 +00:00
Jack Jansen
971e1df3df Quick hack so PowerPC macs can access system structures 1995-02-02 14:29:10 +00:00
Jack Jansen
c76fd39587 Added stuff so CodeWarrior isn't so verbose about its stdio windows 1995-02-02 14:27:31 +00:00
Jack Jansen
a76382a6ac Added HandleEvent method to macos, so python programs can hand back
events they don't want to handle to stdio
1995-02-02 14:25:56 +00:00
Jack Jansen
8828fcf738 Added [GS]etCreatorType methods to FSSpec objects 1995-02-02 14:23:52 +00:00
Sjoerd Mullender
992ff06e98 Made play method more robust by adding a try-finally. 1995-02-01 14:24:32 +00:00
Sjoerd Mullender
3d697ce447 Support for album.notes and trackN.artist via notes and trackartist
instance variables.
1995-02-01 14:23:37 +00:00
Guido van Rossum
d09b41bf05 remove last bits of mac specific code 1995-01-30 12:55:22 +00:00
Guido van Rossum
a715299a14 remove unused variable 1995-01-30 12:53:21 +00:00
Guido van Rossum
90f0e07a5b fix glaring bug in get_magic 1995-01-30 12:53:06 +00:00
Guido van Rossum
42a5124101 Think C mod to suppress pausing at normal exit 1995-01-30 12:52:46 +00:00
Guido van Rossum
d503913594 plug leak and improve error handling in dbm_keys() 1995-01-30 12:45:38 +00:00