annotate Mac/Relnotes-1.3 @ 4566:6403c94de50d legacy-trunk

Added safeguard against failure in __del__.
author Guido van Rossum <guido@python.org>
date Wed, 27 Nov 1996 19:39:58 +0000
parents ffe032836937
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3141
3f8a73380c4b Clarified some things, started adding mods since 1.3beta3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3058
diff changeset
1 Changes since 1.3beta3
3f8a73380c4b Clarified some things, started adding mods since 1.3beta3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3058
diff changeset
2 ----------------------
3190
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
3 - MkPluginAliases.py now works in a virgin distribution environment. It is
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
4 also distributed as an applet.
3141
3f8a73380c4b Clarified some things, started adding mods since 1.3beta3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3058
diff changeset
5 - hexbin from binhex.py has been fixed
3f8a73380c4b Clarified some things, started adding mods since 1.3beta3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3058
diff changeset
6 - various bits and pieces in readme files clarified
3f8a73380c4b Clarified some things, started adding mods since 1.3beta3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3058
diff changeset
7 - mkapplet bug wrt owner resource (and, hence, trouble starting applets) fixed.
3190
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
8 - Compiled with CodeWarrior 7.
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
9 - AE client modules generated with gensuitemodule.py now use keyword args.
3214
ffe032836937 Last few notes/bugs
Jack Jansen <jack.jansen@cwi.nl>
parents: 3190
diff changeset
10 - img modules updated to latest version (including pbm and sgi support).
ffe032836937 Last few notes/bugs
Jack Jansen <jack.jansen@cwi.nl>
parents: 3190
diff changeset
11 - Everything compiled with all optimization options available. Let me know
ffe032836937 Last few notes/bugs
Jack Jansen <jack.jansen@cwi.nl>
parents: 3190
diff changeset
12 if you suspect errors that are due to this.
3141
3f8a73380c4b Clarified some things, started adding mods since 1.3beta3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3058
diff changeset
13
3050
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
14 Changes since Python 1.2 for the mac
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
15 ------------------------------------
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
16 - PPC python now uses a shared library organization. This allows the
3058
d94b500cb986 Updated 1.3 relnotes and added top-level instructions
Jack Jansen <jack.jansen@cwi.nl>
parents: 3050
diff changeset
17 creation of dynamically loadable extension modules (contact me) and
d94b500cb986 Updated 1.3 relnotes and added top-level instructions
Jack Jansen <jack.jansen@cwi.nl>
parents: 3050
diff changeset
18 creation of python applets (see mkapplet.py). A number of previously
3050
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
19 builtin modules are now dynamically loaded. Dynamically loaded
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
20 modules are distributed in the PlugIns folder.
3058
d94b500cb986 Updated 1.3 relnotes and added top-level instructions
Jack Jansen <jack.jansen@cwi.nl>
parents: 3050
diff changeset
21 - Python modules can live in 'PYC ' resources (with a name equal to the
d94b500cb986 Updated 1.3 relnotes and added top-level instructions
Jack Jansen <jack.jansen@cwi.nl>
parents: 3050
diff changeset
22 module name, so many modules can live in a single file). If you put a
d94b500cb986 Updated 1.3 relnotes and added top-level instructions
Jack Jansen <jack.jansen@cwi.nl>
parents: 3050
diff changeset
23 file (in stead of a folder) in sys.path its resources will be searched.
d94b500cb986 Updated 1.3 relnotes and added top-level instructions
Jack Jansen <jack.jansen@cwi.nl>
parents: 3050
diff changeset
24 See the PackLibDir script for creating such a file.
d94b500cb986 Updated 1.3 relnotes and added top-level instructions
Jack Jansen <jack.jansen@cwi.nl>
parents: 3050
diff changeset
25 - new binhex module (partially working, hexbin has problems)
3050
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
26 - Python now has a Preferences file, editable with
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
27 EditPythonPrefs. Remembered are the python 'home folder' and the
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
28 initial value for sys.path. If no preferences file is found a simple
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
29 one is created.
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
30 NOTE: this only works correctly if you start python the first time
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
31 from the correct folder.
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
32 - new img modules, to read/write/convert images in various formats
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
33 - new MacOS toolbox modules: AE, Ctl, Dlg, Event, List, Qd, Res, Snd
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
34 and Win. These provide access to various of the MacOS toolbox
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
35 interfaces. No documentation yet, but the __doc__ strings provide at
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
36 least the calling sequence (and Inside Mac will give you the
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
37 semantics). Minimal demos are provided for most toolbox interfaces,
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
38 and the 'scripts' directory has some more examples.
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
39 - AppleEvent client interfaces can be generated from aete/aeut
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
40 resources. No support for objects yet, nor for server interfaces.
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
41 - Lib:mac:FrameWork.py has an application framework (under
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
42 construction).
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
43 - (PPC Only) support for building Python applets: tiny standalone
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
44 python applications.
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
45 - fp = open(filename, '*r') opens resource-fork of a file for reading
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
46 (and similar for writing).
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
47 - option-dragging a file to the interpreter (or immedeately pressing
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
48 <option> after launching python) will bring up an Options dialog
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
49 allowing you to set options like import-tracing, etc.
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
50 - MacOS module method added: GetErrorString(OSErr) -> error string
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
51 - There is now a numbering convention for resource-ID's:
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
52 128-255 Resources used by the interpreter itself
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
53 256-511 Resources used by standard modules
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
54 512- Resources for applications
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
55 - macfs module changes:
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
56 - StandardGetFile without type arguments now shows all files
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
57 - PromptGetFile(prompt, ...) is like StandardGetFile but with a
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
58 prompt
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
59 - GetDirectory (let user select a folder) added
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
60 - GetFInfo and SetFInfo methods of FSSpec objects get/set finder
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
61 info. FInfo objects have attributes Creator, Type, etc.
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
62 - FindFolder (locate trash/preferences/etc) added
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
63 - mactcp/macdnr changes: bug fix wrt idle-loop.
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
64 - EditPythonPrefs script: change initial sys.path and python home
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
65 folder
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
66 - (PPC only) MkPluginAliases: Setup aliases for dynamically loadable
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
67 modules that live in a single shared library
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
68 - PackLibDir: Convert Lib directory to a single resource file
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
69 containing all .pyc code
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
70 - fixfiletypes: Set file types based on file extension over a whole
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
71 tree.
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
72 - RunLibScript: Run any script as main program, optionally redirecting
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
73 stdin/stdout, supplying arguments, etc.
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
74 - binhextree: Binhex all files in a tree, depending on the extension.
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
75 - (PPC only) mkapplet: Create a python applet from a sourcefile and
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
76 (optional) resourcefile.
3190
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
77
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
78 Known problems
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
79 --------------
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
80
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
81 - 68K python reacts rather violently to out-of-memory situations. In
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
82 stead of raising MemoryError it will crash, possibly bringing down the
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
83 whole system. This is being investigated.
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
84 - The installation procedure is baroque. Ideas for improvement are welcome.
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
85 - The full documentation should be ported to AppleGuide. This should be
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
86 a fairly simple automatic translation but I am not well-versed enough in
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
87 AppleGuide to do it. Any takers?
3214
ffe032836937 Last few notes/bugs
Jack Jansen <jack.jansen@cwi.nl>
parents: 3190
diff changeset
88 - stdwin still has trouble with getting the clipboard (for cut/copy). Any
ffe032836937 Last few notes/bugs
Jack Jansen <jack.jansen@cwi.nl>
parents: 3190
diff changeset
89 hints for fixing this will be looked into (but I am not going to spend
ffe032836937 Last few notes/bugs
Jack Jansen <jack.jansen@cwi.nl>
parents: 3190
diff changeset
90 ages on this, especially without anyone asking me to).
ffe032836937 Last few notes/bugs
Jack Jansen <jack.jansen@cwi.nl>
parents: 3190
diff changeset
91 - Be careful when copy/pasting in the stdin/stdout window. If you type
ffe032836937 Last few notes/bugs
Jack Jansen <jack.jansen@cwi.nl>
parents: 3190
diff changeset
92 something when you have the insertion point is not at end-of-window you
ffe032836937 Last few notes/bugs
Jack Jansen <jack.jansen@cwi.nl>
parents: 3190
diff changeset
93 may experience a system hang. (thanks, Just!)
3050
2cd4cc065c1f Release notes for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
94
3190
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
95
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
96 What will change shortly
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
97 ------------------------
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
98
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
99 I am planning to do an intermediate release shortly (1.3.1??), mainly
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
100 because Guido was so fast with 1.3 that I didn't have time to do some
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
101 things I wanted. Expect the following changes shortly (note that some are
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
102 incompatible):
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
103 - CFM68K support,bringing applets and dynamic loading to the 68K macs.
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
104 - Bgen-generated toolbox interfaces will go to a different place,
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
105 probably :Lib:mac:toolbox
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
106 - Resource objects now often perform the role of a Handle object. This
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
107 will change with the introduction of a Handle object and some sort of
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
108 simulated inheritance.
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
109 - AE suites generated with gensuitemodule will be restructured, whereby it
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
110 will be easier to override/extend standard suites. Also, server suites
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
111 will also be generated, and hopefully objects will be supported.
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
112 - Event handling is currently rather messy, with python, SIOUX, stdwin and
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
113 the python application all fighting over the events. This will somehow
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
114 be changed.
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
115
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
116
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
117 Jack Jansen, jack@cwi.nl
28dfc467185f Updated for 1.3
Jack Jansen <jack.jansen@cwi.nl>
parents: 3141
diff changeset
118 10-Oct-95