Jack Jansen | 028f2d5 | 2001-08-29 22:04:08 +0000 | [diff] [blame] | 1 | Changes in 2.2a2 since 2.1.1 |
| 2 | ---------------------------- |
Jack Jansen | ecbc1cc | 1998-01-06 12:13:16 +0000 | [diff] [blame] | 3 | |
Jack Jansen | 26d7c14 | 2000-09-11 22:47:12 +0000 | [diff] [blame] | 4 | These release notes refer to Mac-specific changes only. See NEWS (in the Misc folder) |
Jack Jansen | 028f2d5 | 2001-08-29 22:04:08 +0000 | [diff] [blame] | 5 | for machine-independent changes. But note that more things may have changed: MacPython |
| 6 | 2.2a2 is built from newer sources than unix/windows 2.2a2 (for CVS users: the r22a2-mac |
| 7 | tag is what you are looking for). |
Jack Jansen | ecbc1cc | 1998-01-06 12:13:16 +0000 | [diff] [blame] | 8 | |
Jack Jansen | 028f2d5 | 2001-08-29 22:04:08 +0000 | [diff] [blame] | 9 | - The main change is that all toolbox modules have moved to a package called Carbon. |
| 10 | So things like "import Res" should be changed to "from Carbon import Res", and |
| 11 | "from Res import *" to "from Carbon.Res import *". Please see the readme file for |
| 12 | some open questions and join the discussions on pythonmac-sig if you have anything |
| 13 | to contribute. Aside from reducing clutter this change will also benefit the |
| 14 | port to Mach-O/OSX Python later. |
| 15 | - On input MacPython now accepts either \n (unix style) or \r (mac style) newlines |
| 16 | for text files. This is an experimental feature; again: feedback is requested. |
| 17 | - There is a new module macresource which makes it easier to open a resource file |
| 18 | accompanying your script when the script is not (yet) converted to an applet. |
| 19 | This module will later also do the right thing in Mach-O/OSX Python. |
| 20 | - Threads had a stack that was too small for many serious Python applications (20K). |
| 21 | They now get 64K. There is still no overflow check, though. |
| 22 | - Garbage collection and the gc module have (finally) been enabled. |
| 23 | - EasyDialogs.ProgressBar now has indeterminate progressbars if you specify maxval=0. |
| 24 | This is also the new default. Patch supplied by Dean Draayer. |
| 25 | - Various outdated scripts have been moved to :Mac:Unsupported. |
| 26 | - Various outdated items from :Mac:Lib:test have been removed. |
Jack Jansen | 26d7c14 | 2000-09-11 22:47:12 +0000 | [diff] [blame] | 27 | |
| 28 | What is not in this distribution |
| 29 | -------------------------------- |
| 30 | |
Jack Jansen | 028f2d5 | 2001-08-29 22:04:08 +0000 | [diff] [blame] | 31 | - Stackless Python/microthreads hasn't been ported to 2.2 yet. If/when it becomes available |
Jack Jansen | de51909 | 2000-10-12 21:21:43 +0000 | [diff] [blame] | 32 | Just will undoubtedly announce it on pythonmac-sig and the MacPython homepage. |
Jack Jansen | 028f2d5 | 2001-08-29 22:04:08 +0000 | [diff] [blame] | 33 | - The toolbox modules have not been updated to Universal Header 3.4 or CarbonLib 1.4 yet. |
Jack Jansen | 26d7c14 | 2000-09-11 22:47:12 +0000 | [diff] [blame] | 34 | |
| 35 | Known problems |
| 36 | -------------- |
| 37 | |
Jack Jansen | c1218bc | 2001-04-25 22:11:24 +0000 | [diff] [blame] | 38 | This list is probably incomplete, more problems may be listed on the MacPython homepage, |
Jack Jansen | 26d7c14 | 2000-09-11 22:47:12 +0000 | [diff] [blame] | 39 | http://www.cwi.nl/~jack/macpython.html. |
| 40 | |
Jack Jansen | 028f2d5 | 2001-08-29 22:04:08 +0000 | [diff] [blame] | 41 | - MacPython 2.2a2 (and MacPython 2.1) will not run correctly on a multiprocessor MacOS X |
Jack Jansen | cbed91b | 2001-08-03 13:31:36 +0000 | [diff] [blame] | 42 | machine, it will quickly deadlock during I/O operations. The GUSI I/O library is suspected, |
| 43 | hints/clues/workarounds are solicited. |
Jack Jansen | 9de05f4 | 2001-03-20 23:30:38 +0000 | [diff] [blame] | 44 | - Tkinter does not work under Carbon. |
Jack Jansen | 26d7c14 | 2000-09-11 22:47:12 +0000 | [diff] [blame] | 45 | - The IDE and Tkinter do not work together. Run tkinter programs under PythonInterpreter. |
Jack Jansen | 4c52203 | 2001-03-08 23:07:16 +0000 | [diff] [blame] | 46 | - Tkinter file events do not work, unless you have opened the file through Tcl (but then |
| 47 | you cannot access it from Python). |
Jack Jansen | c1218bc | 2001-04-25 22:11:24 +0000 | [diff] [blame] | 48 | - Aliases may not work in sys.path entries. |
| 49 | - Under Carbon on OS9 only you may occasionally see a spurious KeyboardInterrupt. I have absolutely |
Jack Jansen | 2f9a9e3 | 2001-02-17 22:03:42 +0000 | [diff] [blame] | 50 | no clue as to what is causing this. |
Jack Jansen | 4c52203 | 2001-03-08 23:07:16 +0000 | [diff] [blame] | 51 | - PythonInterpreter used interactively will eat a lot of processor cycles. You should use |
Jack Jansen | c1218bc | 2001-04-25 22:11:24 +0000 | [diff] [blame] | 52 | PythonIDE for interactive work and PythonInterpreter for scripts only. This is especially |
| 53 | true under OSX. |
Jack Jansen | cbed91b | 2001-08-03 13:31:36 +0000 | [diff] [blame] | 54 | - AliasMenu 2.2 conflicts with the Carbon version of Python. This is most likely a problem |
| 55 | with AliasMenu (which is from 1999, and thus predates Carbon altogether). |