annotate Mac/Relnotes @ 17322:bd110eadc19a legacy-trunk

One-liner critical fix from Jim Fulton: Eric's string-method crusade got the order backwards in a line (for .find()).
author Tim Peters <tim.peters@gmail.com>
date Thu, 05 Apr 2001 22:26:23 +0000
parents 390a8315d634
children a3deb201ecda
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17094
dd5a1b280440 Started on 2.1b2 release notes. Cleaned out alfa notes, etc.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17045
diff changeset
1 Changes in 2.1b2 since 2.0
15278
11676ddaff01 Ready for 2.0
Jack Jansen <jack.jansen@cwi.nl>
parents: 15209
diff changeset
2 --------------------------
14504
deb3e9685a1e Release notes for 2.0b1. It is not much, but I can't find all the info back:-(
Jack Jansen <jack.jansen@cwi.nl>
parents: 12599
diff changeset
3
14515
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
4 These release notes refer to Mac-specific changes only. See NEWS (in the Misc folder)
17094
dd5a1b280440 Started on 2.1b2 release notes. Cleaned out alfa notes, etc.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17045
diff changeset
5 for machine-independent changes. Changes since 2.1b1 are
17001
2dc3ca1d890c Files for 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 16817
diff changeset
6 marked with [*] and at the bottom of the list.
5651
95d6e17955ef Changed release note structure:
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
7
17094
dd5a1b280440 Started on 2.1b2 release notes. Cleaned out alfa notes, etc.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17045
diff changeset
8 - This release is Carbon-based, so it runs natively on MacOS 8.6 or
17237
390a8315d634 Updated for 2.1b2 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17094
diff changeset
9 later and MacOSX. (Note that on MacOSX MacPython will run as a normal Mac application,
390a8315d634 Updated for 2.1b2 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17094
diff changeset
10 if you want to run Python from the BSD commandline get a unix-Python distribution
390a8315d634 Updated for 2.1b2 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17094
diff changeset
11 from www.python.org).
17001
2dc3ca1d890c Files for 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 16817
diff changeset
12 - Alternatively there is a classic PPC interpreter as well. There are two reasons you
2dc3ca1d890c Files for 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 16817
diff changeset
13 might want to use this: (a) you have a pre-MacOS9 system and don't want to install
2dc3ca1d890c Files for 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 16817
diff changeset
14 CarbonLib, or (b) you need Tkinter, for which no Carbon version is available yet.
16649
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
15 - Distutils is included and seems to work.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
16 - There's a new module (package, actually) mkcwproject which builds CodeWarrior
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
17 projects from simple templates. See Distutils or :Mac:scripts:genpluginprojects.py
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
18 for examples of use.
17237
390a8315d634 Updated for 2.1b2 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17094
diff changeset
19 - The Numerical extension has moved to :Lib:site-python from :Extensions. As Numerical
390a8315d634 Updated for 2.1b2 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17094
diff changeset
20 is now distutils-based you can easily install newer versions when they become
390a8315d634 Updated for 2.1b2 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17094
diff changeset
21 available.
16649
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
22 - Windows and Dialogs can now be different beasts, so you may have to call
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
23 dlg.GetDialogWindow() where you used to be able to call window methods straight
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
24 on the dialog. This also has consequences for code using FrameWork.DialogWindow.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
25 THIS IS AN INCOMPATIBLE CHANGE.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
26 - ctl.GetControlDataHandle() has been renamed to GetControlData_Handle(), and similarly
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
27 for the other variants of GetControlData and SetControlData. This was needed
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
28 because Carbon defines a completely different routine with the name GetControlDataHandle.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
29 THIS IS AN INCOMPATIBLE CHANGE.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
30 - Method mac.xstat() has disappeared. THIS IS AN INCOMPATIBLE CHANGE.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
31 - Menu.SetPopupData() and GetPopupData() are gone. Use SetPopupMenuHandle() and
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
32 SetPopupMenuID() (and the getters) in stead. THIS IS AN INCOMPATIBLE CHANGE.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
33 - Various methods have disappeared when running under Carbon. The script
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
34 :Mac:scripts:missingcarbonmethods.py can check your sources, but you need unix to run
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
35 it. Or use it as documentation and search by hand. THIS IS AN INCOMPATIBLE CHANGE.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
36 - The good news is that "direct access to toolbox structs" still works from Python,
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
37 so Python programmers have a lot less to fix than C programmers.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
38 That's because the lowlevel code simply uses the accessors internally. The accessors
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
39 are available both in Carbon and Classic MacPython.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
40 - Scrap under Carbon is, you guessed it, the Carbon Scrap Manager. Some workarounds are
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
41 provided, though. THIS IS AN INCOMPATIBLE CHANGE.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
42 - The Internet Config routines that are missing from Carbon have been removed. This
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
43 is no problem if you use the "ic" module, but may be if you use "icglue" directly.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
44 THIS IS AN INCOMPATIBLE CHANGE.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
45 - Various old toolbox names (CountMItems, EnableItem, etc) have disappeared. Use the
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
46 new forms (CountMenuItems, EnableMenuItem, etc). THIS IS AN INCOMPATIBLE CHANGE.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
47 - Waste now uses Waste 2.0.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
48 - The default memory size for the interpreter has been upped again.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
49 - The MacOS error messages have been updated to reflect the current state of
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
50 things. This was long overdue.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
51 - The crash in BuildApplication has been fixed.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
52 - struct.pack related problems (in Audio_Mac, for example) have been fixed.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
53 - (src/dev/cvs only): The project files now use the .mcp extension in stead of .prj.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
54 Projects for almost all plugins and the img modules are automatically generated
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
55 with :Mac:scripts:genpluginprojects.py (also called by fullbuild). The .mcp files
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
56 are not in the repository, if you don't want to use genpluginprojects you can import
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
57 the .mcp.xml files in CodeWarrior.
16817
ffcb3cff9439 Updated for 2.1a3
Jack Jansen <jack.jansen@cwi.nl>
parents: 16649
diff changeset
58 - ConfigurePython has been replace by two applets: ConfigurePythonClassic and
ffcb3cff9439 Updated for 2.1a3
Jack Jansen <jack.jansen@cwi.nl>
parents: 16649
diff changeset
59 ConfigurePythonCarbon. These will select either execution model for machines
17094
dd5a1b280440 Started on 2.1b2 release notes. Cleaned out alfa notes, etc.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17045
diff changeset
60 supporting both, and it will also build all the standard applets.
17001
2dc3ca1d890c Files for 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 16817
diff changeset
61 - PythonInterpreterCarbon and PythonInterpreterClassic are now files of type "Atmp", not
2dc3ca1d890c Files for 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 16817
diff changeset
62 "APPL", so there should not be any confusion as to what the real application is
17094
dd5a1b280440 Started on 2.1b2 release notes. Cleaned out alfa notes, etc.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17045
diff changeset
63 (PythonInterpreter).
dd5a1b280440 Started on 2.1b2 release notes. Cleaned out alfa notes, etc.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17045
diff changeset
64 - A BBEdit language module by Chris Stern is included in the :Mac:Contrib folder.
17045
ff75c382f0d3 Files for second 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17013
diff changeset
65 - The ConfigurePython applets will now detect if the preference file refers to a different
17094
dd5a1b280440 Started on 2.1b2 release notes. Cleaned out alfa notes, etc.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17045
diff changeset
66 folder than where they live. They offer to remove the preference file in this case.
dd5a1b280440 Started on 2.1b2 release notes. Cleaned out alfa notes, etc.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17045
diff changeset
67 - Import case-check was broken in 2.1b1, this is fixed. [*]
dd5a1b280440 Started on 2.1b2 release notes. Cleaned out alfa notes, etc.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17045
diff changeset
68 - A side-effect of the previous fix is that getpass works again. [*]
dd5a1b280440 Started on 2.1b2 release notes. Cleaned out alfa notes, etc.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17045
diff changeset
69 - BuildApplication was broken under Carbon. Fixed. [*]
14822
3e393f9b1293 Readme and relnotes for intermediate 2.0b1+ release.
Jack Jansen <jack.jansen@cwi.nl>
parents: 14565
diff changeset
70
14515
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
71
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
72 What is not in this distribution
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
73 --------------------------------
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
74
16649
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
75 - The garbage collection mods have not been enabled, mainly due to lack of test-time.
17045
ff75c382f0d3 Files for second 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17013
diff changeset
76 - Stackless Python/microthreads hasn't been ported to 2.1 yet. If/when it becomes available
15190
656d434388c8 Updated for 2.0c1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14822
diff changeset
77 Just will undoubtedly announce it on pythonmac-sig and the MacPython homepage.
14515
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
78
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
79 Known problems
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
80 --------------
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
81
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
82 This list is far from complete, more problems may be listed on the MacPython homepage,
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
83 http://www.cwi.nl/~jack/macpython.html.
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
84
17094
dd5a1b280440 Started on 2.1b2 release notes. Cleaned out alfa notes, etc.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17045
diff changeset
85 - Tkinter does not work under Carbon.
14515
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
86 - The IDE and Tkinter do not work together. Run tkinter programs under PythonInterpreter.
17013
d15ace321102 Started on relnotes for the next beta.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17001
diff changeset
87 - After running a Tkinter program your menubar may end up dead, with command-alt-escape
d15ace321102 Started on relnotes for the next beta.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17001
diff changeset
88 the only way to terminate Python.
d15ace321102 Started on relnotes for the next beta.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17001
diff changeset
89 - Tkinter file events do not work, unless you have opened the file through Tcl (but then
d15ace321102 Started on relnotes for the next beta.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17001
diff changeset
90 you cannot access it from Python).
14515
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
91 - Aliases do not work in sys.path entries.
16649
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
92 - The menu bar isn't always correctly restored before MacPython turns to <<terminated>>.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
93 - Under Carbon only you may occasionally see a spurious KeyboardInterrupt. I have absolutely
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
94 no clue as to what is causing this.
17013
d15ace321102 Started on relnotes for the next beta.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17001
diff changeset
95 - PythonInterpreter used interactively will eat a lot of processor cycles. You should use
d15ace321102 Started on relnotes for the next beta.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17001
diff changeset
96 PythonIDE for interactive work and PythonInterpreter for scripts only.
17045
ff75c382f0d3 Files for second 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17013
diff changeset
97 - Under MacOSX Public Beta ConfigurePython cannot put PythonCore in the global CFMSupport
ff75c382f0d3 Files for second 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17013
diff changeset
98 folder. Therefore applets have to live in the Python folder, otherwise they cannot find
ff75c382f0d3 Files for second 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17013
diff changeset
99 PythonCore. There is a workaround if you want to have an applet in a different folder:
ff75c382f0d3 Files for second 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17013
diff changeset
100 put an alias PythonCoreCarbon (pointing to the PythonCoreCarbon in the Python folder)
ff75c382f0d3 Files for second 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17013
diff changeset
101 in the same folder as your applet.
ff75c382f0d3 Files for second 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17013
diff changeset
102 This problem should in all probability not occur in the release version of MacOSX.