blob: 04ab6837ca975277bae57a87769489a4297c46de [file] [log] [blame]
Jack Jansen61c32fe1995-08-31 13:56:36 +00001 Changes since Python 1.2 for the mac
2 ------------------------------------
3These relnotes are relative to the last "official" MacPython release,
4not to the intermediate releases.
5- PPC python now uses a shared library organization. This allows the
6 creation of dynamically loadable extension modules (see XXXX) and
7 creation of python applets (see XXXX). A number of previously
8 builtin modules are now dynamically loaded. Dynamically loaded
9 modules are distributed in the PlugIns folder.
10- All python versions now use
11- new binhex module (partially working)
12- Python now has a Preferences file, editable with
13 EditPythonPrefs. Remembered are the python 'home folder' and the
14 initial value for sys.path. If no preferences file is found a simple
15 one is created.
16 NOTE: this only works correctly if you start python the first time
17 from the correct folder.
18- new img modules, to read/write/convert images in various formats
19- new MacOS toolbox modules: AE, Ctl, Dlg, Event, List, Qd, Res, Snd
20 and Win. These provide access to various of the MacOS toolbox
21 interfaces. No documentation yet, but the __doc__ strings provide at
22 least the calling sequence (and Inside Mac will give you the
23 semantics). Minimal demos are provided for most toolbox interfaces,
24 and the 'scripts' directory has some more examples.
25- AppleEvent client interfaces can be generated from aete/aeut
26 resources. No support for objects yet, nor for server interfaces.
27- Lib:mac:FrameWork.py has an application framework (under
28 construction).
29- (PPC Only) support for building Python applets: tiny standalone
30 python applications.
31- fp = open(filename, '*r') opens resource-fork of a file for reading
32 (and similar for writing).
33- option-dragging a file to the interpreter (or immedeately pressing
34 <option> after launching python) will bring up an Options dialog
35 allowing you to set options like import-tracing, etc.
36- MacOS module method added: GetErrorString(OSErr) -> error string
37- There is now a numbering convention for resource-ID's:
38 128-255 Resources used by the interpreter itself
39 256-511 Resources used by standard modules
40 512- Resources for applications
41- macfs module changes:
42 - StandardGetFile without type arguments now shows all files
43 - PromptGetFile(prompt, ...) is like StandardGetFile but with a
44 prompt
45 - GetDirectory (let user select a folder) added
46 - GetFInfo and SetFInfo methods of FSSpec objects get/set finder
47 info. FInfo objects have attributes Creator, Type, etc.
48 - FindFolder (locate trash/preferences/etc) added
49- mactcp/macdnr changes: bug fix wrt idle-loop.
50- EditPythonPrefs script: change initial sys.path and python home
51 folder
52- (PPC only) MkPluginAliases: Setup aliases for dynamically loadable
53 modules that live in a single shared library
54- PackLibDir: Convert Lib directory to a single resource file
55 containing all .pyc code
56- fixfiletypes: Set file types based on file extension over a whole
57 tree.
58- RunLibScript: Run any script as main program, optionally redirecting
59 stdin/stdout, supplying arguments, etc.
60- binhextree: Binhex all files in a tree, depending on the extension.
61- (PPC only) mkapplet: Create a python applet from a sourcefile and
62 (optional) resourcefile.
63