Jack Jansen | cbed91b | 2001-08-03 13:31:36 +0000 | [diff] [blame^] | 1 | Changes in 2.1.1 since 2.1 |
Jack Jansen | 538bd13 | 2000-10-19 21:58:27 +0000 | [diff] [blame] | 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 | cbed91b | 2001-08-03 13:31:36 +0000 | [diff] [blame^] | 5 | for machine-independent changes. |
Jack Jansen | ecbc1cc | 1998-01-06 12:13:16 +0000 | [diff] [blame] | 6 | |
Jack Jansen | cbed91b | 2001-08-03 13:31:36 +0000 | [diff] [blame^] | 7 | - Handling non-ascii characters in sys.path on non-MacRoman systems should be fixed, |
| 8 | iff MacPython has a codec for the charset. Otherwise you should get an error, at least. |
| 9 | Pathnames in sys.path also retain their original case again. |
| 10 | - IDE could crash on corrupt preferences. Fixed. |
| 11 | - IDE will now work if you use either pre or sre as re. |
| 12 | - Evt.WaitNextEvent could give an error when bit 15 was set, which could cause a problem |
| 13 | with IDE in classic mode. Fixed. |
| 14 | - MacOS8.X users in classic mode had problems with Fm not loading, which also caused |
| 15 | IDE not working. Fixed. |
| 16 | - Fm.IsAntiAliasedTextEnabled and Fm.SetAntiAliasedTextEnabled have gone for now, to |
| 17 | fix the problem above. |
| 18 | - Disabled the Tkinter file I/O event handler, which was there but didn't work anyway. |
| 19 | - Problems with loading dynamic modules that are part of a package into BuildApplication- |
| 20 | generated programs were fixed. |
| 21 | - The order of the EasyDialogs yes/no/cancel buttons has been conformed to the Mac |
| 22 | standard. |
| 23 | - Handling of Dialogs and Windows that were not created by Python is a bit more graceful |
| 24 | now, which may fix some crashes. |
| 25 | - Ctl.SendControlMessage has gone. But it didn't work anyway. |
| 26 | - Various problems with the TextEdit and Waste demos have been fixed. |
| 27 | - Embedding/extending only: in preparation to allowing the use of MacPython modules in |
| 28 | unix-Python on OSX the xxx_New and xxx_Convert routines are now optionally vectored via |
| 29 | glue routines in macglue.c. The only change that may be needed for embedders/extenders is |
| 30 | that you may want to include pymactoolbox.h in your sources. |
| 31 | - Embedding/extending only: Most MacPython source is now much more Mach-O friendly, and |
| 32 | should work with Universal Headers 3.4. |
| 33 | - Experimental: an Mlte module has been added, an interface to the Multi Lingual Text |
| 34 | Engine. There is a minimal example in :Mac:Demos:mlte. |
| 35 | - Experimental: some support for FSRef objects has been added. You can do little more that |
| 36 | convert them to/from FSSpecs. Carbon only. |
| 37 | - Experimental: the CF module has some support for CoreFoundation types. CFString |
| 38 | and CFURL work, to a degree, and can be converted to/from Python strings and Unicode |
| 39 | objects. Carbon only. |
Jack Jansen | 26d7c14 | 2000-09-11 22:47:12 +0000 | [diff] [blame] | 40 | |
| 41 | What is not in this distribution |
| 42 | -------------------------------- |
| 43 | |
Jack Jansen | 2f9a9e3 | 2001-02-17 22:03:42 +0000 | [diff] [blame] | 44 | - The garbage collection mods have not been enabled, mainly due to lack of test-time. |
Jack Jansen | 8ef786e | 2001-03-15 14:27:09 +0000 | [diff] [blame] | 45 | - Stackless Python/microthreads hasn't been ported to 2.1 yet. If/when it becomes available |
Jack Jansen | de51909 | 2000-10-12 21:21:43 +0000 | [diff] [blame] | 46 | Just will undoubtedly announce it on pythonmac-sig and the MacPython homepage. |
Jack Jansen | 26d7c14 | 2000-09-11 22:47:12 +0000 | [diff] [blame] | 47 | |
| 48 | Known problems |
| 49 | -------------- |
| 50 | |
Jack Jansen | c1218bc | 2001-04-25 22:11:24 +0000 | [diff] [blame] | 51 | 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] | 52 | http://www.cwi.nl/~jack/macpython.html. |
| 53 | |
Jack Jansen | cbed91b | 2001-08-03 13:31:36 +0000 | [diff] [blame^] | 54 | - MacPython 2.1.1 (and MacPython 2.1) will not run correctly on a multiprocessor MacOS X |
| 55 | machine, it will quickly deadlock during I/O operations. The GUSI I/O library is suspected, |
| 56 | hints/clues/workarounds are solicited. |
Jack Jansen | 9de05f4 | 2001-03-20 23:30:38 +0000 | [diff] [blame] | 57 | - Tkinter does not work under Carbon. |
Jack Jansen | 26d7c14 | 2000-09-11 22:47:12 +0000 | [diff] [blame] | 58 | - 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] | 59 | - Tkinter file events do not work, unless you have opened the file through Tcl (but then |
| 60 | you cannot access it from Python). |
Jack Jansen | c1218bc | 2001-04-25 22:11:24 +0000 | [diff] [blame] | 61 | - Aliases may not work in sys.path entries. |
| 62 | - 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] | 63 | no clue as to what is causing this. |
Jack Jansen | 4c52203 | 2001-03-08 23:07:16 +0000 | [diff] [blame] | 64 | - 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] | 65 | PythonIDE for interactive work and PythonInterpreter for scripts only. This is especially |
| 66 | true under OSX. |
Jack Jansen | cbed91b | 2001-08-03 13:31:36 +0000 | [diff] [blame^] | 67 | - AliasMenu 2.2 conflicts with the Carbon version of Python. This is most likely a problem |
| 68 | with AliasMenu (which is from 1999, and thus predates Carbon altogether). |