blob: 2bfe0035ed3a7175cfb8f3e3151b3177d51ab844 [file] [log] [blame]
Jack Jansenb3be2162001-11-30 14:16:36 +00001Changes in 2.2b2 since 2.1.1
Jack Jansen028f2d52001-08-29 22:04:08 +00002----------------------------
Jack Jansenecbc1cc1998-01-06 12:13:16 +00003
Jack Jansen26d7c142000-09-11 22:47:12 +00004These release notes refer to Mac-specific changes only. See NEWS (in the Misc folder)
Jack Jansenb3be2162001-11-30 14:16:36 +00005for machine-independent changes. Changes that are new in 2.2b2 are flagged as such.
Jack Jansen5d528b72001-10-23 22:22:09 +00006
Jack Jansenecbc1cc1998-01-06 12:13:16 +00007
Jack Jansen028f2d52001-08-29 22:04:08 +00008- The main change is that all toolbox modules have moved to a package called Carbon.
9 So things like "import Res" should be changed to "from Carbon import Res", and
10 "from Res import *" to "from Carbon.Res import *". Please see the readme file for
11 some open questions and join the discussions on pythonmac-sig if you have anything
12 to contribute. Aside from reducing clutter this change will also benefit the
Jack Jansenb3be2162001-11-30 14:16:36 +000013 port to Mach-O/OSX Python later.
Jack Jansen028f2d52001-08-29 22:04:08 +000014- On input MacPython now accepts either \n (unix style) or \r (mac style) newlines
Jack Jansenf7e57142001-09-08 21:38:26 +000015 for text files. This behaviour can be turned off with a preference.
Jack Jansenb3be2162001-11-30 14:16:36 +000016 This is an experimental feature; again: feedback is requested.
17- Command-dot handling has been improved a lot: scripts are now much easier to interrupt,
18 and they only scan for cmd-. while in the foreground. [2.2b2]
19- "Copy" from the MacPython console window was always disabled. Fixed. [2.2b2]
20- This release should run on MacOS 8.1 again. [2.2b2 build 116]
21- A new, rather different GUSI I/O library is used. Please report any strange behaviour
22 with I/O to the pythonmac-sig mailing list! [2.2b2]
Jack Jansen028f2d52001-08-29 22:04:08 +000023- There is a new module macresource which makes it easier to open a resource file
24 accompanying your script when the script is not (yet) converted to an applet.
Jack Jansenb3be2162001-11-30 14:16:36 +000025 This module will later also do the right thing in Mach-O/OSX Python.
26- A new, experimental module hfsplus is included, which gives access to some of the
27 functionality of the HFS+ API. [2.2b2]
Jack Jansen028f2d52001-08-29 22:04:08 +000028- Threads had a stack that was too small for many serious Python applications (20K).
Jack Jansenb3be2162001-11-30 14:16:36 +000029 They now get 64K. There is still no overflow check, though.
30- Garbage collection and the gc module have (finally) been enabled.
Jack Jansen028f2d52001-08-29 22:04:08 +000031- EasyDialogs.ProgressBar now has indeterminate progressbars if you specify maxval=0.
Jack Jansenb3be2162001-11-30 14:16:36 +000032 This is also the new default. Patch supplied by Dean Draayer.
Jack Jansenf7e57142001-09-08 21:38:26 +000033- There are new preferences for enabling old-style division warnings and for
34 accepting unix-style newlines in text input files. These can also be set during
Jack Jansenb3be2162001-11-30 14:16:36 +000035 startup, and in addition you can select very verbose import tracing.
36- The NavServices override for StandardFile has moved from early startup to the
37 time you import macfs. This speeds up MacPython startup.
38- Various outdated scripts have been moved to :Mac:Unsupported.
39- Various outdated items from :Mac:Lib:test have been removed.
Jack Jansen5d528b72001-10-23 22:22:09 +000040- C Developers: you know have control over the Python console if you are embedding
41 MacPython in another application, thanks to Alexandre Parenteau. :Mac:Demo:embed.html
42 has very minimal documentation.
43- BuildCGIApplet works again.
44- The CodeWarrior OSA suite missed quit(). It is back.
45- Contrib:morefindertools is gone, the functionality has been integrated into
46 the standard module findertools.py.
Jack Jansen26d7c142000-09-11 22:47:12 +000047
48What is not in this distribution
49--------------------------------
50
Jack Jansen028f2d52001-08-29 22:04:08 +000051- Stackless Python/microthreads hasn't been ported to 2.2 yet. If/when it becomes available
Jack Jansende519092000-10-12 21:21:43 +000052 Just will undoubtedly announce it on pythonmac-sig and the MacPython homepage.
Jack Jansen028f2d52001-08-29 22:04:08 +000053- The toolbox modules have not been updated to Universal Header 3.4 or CarbonLib 1.4 yet.
Jack Jansen26d7c142000-09-11 22:47:12 +000054
55Known problems
56--------------
57
Jack Jansenc1218bc2001-04-25 22:11:24 +000058This list is probably incomplete, more problems may be listed on the MacPython homepage,
Jack Jansen26d7c142000-09-11 22:47:12 +000059http://www.cwi.nl/~jack/macpython.html.
60
Jack Jansenb3be2162001-11-30 14:16:36 +000061- MacPython 2.2b2 (and MacPython 2.1) will not run correctly on a multiprocessor MacOS X
Jack Jansencbed91b2001-08-03 13:31:36 +000062 machine, it will quickly deadlock during I/O operations. The GUSI I/O library is suspected,
63 hints/clues/workarounds are solicited.
Jack Jansen9de05f42001-03-20 23:30:38 +000064- Tkinter does not work under Carbon.
Jack Jansen26d7c142000-09-11 22:47:12 +000065- The IDE and Tkinter do not work together. Run tkinter programs under PythonInterpreter.
Jack Jansen4c522032001-03-08 23:07:16 +000066- Tkinter file events do not work, unless you have opened the file through Tcl (but then
67 you cannot access it from Python).
Jack Jansenc1218bc2001-04-25 22:11:24 +000068- Aliases may not work in sys.path entries.
Jack Jansen4c522032001-03-08 23:07:16 +000069- PythonInterpreter used interactively will eat a lot of processor cycles. You should use
Jack Jansenc1218bc2001-04-25 22:11:24 +000070 PythonIDE for interactive work and PythonInterpreter for scripts only. This is especially
71 true under OSX.
Jack Jansencbed91b2001-08-03 13:31:36 +000072- AliasMenu 2.2 conflicts with the Carbon version of Python. This is most likely a problem
73 with AliasMenu (which is from 1999, and thus predates Carbon altogether).