Jack Jansen | ecbc1cc | 1998-01-06 12:13:16 +0000 | [diff] [blame] | 1 | Release notes for MacPython 1.5b3 |
Jack Jansen | 9b2681b | 1997-10-08 15:35:17 +0000 | [diff] [blame] | 2 | --------------------------------- |
Jack Jansen | ecbc1cc | 1998-01-06 12:13:16 +0000 | [diff] [blame] | 3 | |
| 4 | Open Issues and bugs: |
| 5 | |
| 6 | - Packages ("dotted import") appears to have problems for the cfm68k version |
| 7 | of MacPython. Please report anything of interest you find as soon as possible, |
| 8 | preferrably to pythonmac-sig@python.org. |
| 9 | - import test.autotest fails the test_strftime test on %%. This is a bug in the |
| 10 | MetroWerks C strftime() routine. Test_re takes a loooooooooong time, by the way. |
| 11 | - Tk menus may or may not work. Please let me know. |
| 12 | - Occasionally Python becomes non-reactive to mouseclicks after switching it to |
| 13 | background and foreground again. If you experience this please let me know, |
| 14 | explaining the circumstances. |
| 15 | - Printing a NumPy "array([1.2])" may cause a crash in cfm68k-Python. If you have |
| 16 | a 68k machine, a MetroWerks debugger, time and interest in NumPy: please let me |
| 17 | know and I'll ask you to help hunting this bug. |
| 18 | |
| 19 | Changes since the previous version: |
Jack Jansen | 7701fd9 | 1997-05-28 12:01:14 +0000 | [diff] [blame] | 20 | |
| 21 | Here are the mac-specific changes since MacPython 1.4, with end-user-visible |
| 22 | changes near the top and API changes and other things that are developer-only |
Jack Jansen | ecbc1cc | 1998-01-06 12:13:16 +0000 | [diff] [blame] | 23 | more to the bottom. Changes marked with a [*] are new changes since |
| 24 | 1.5a3 (there has not been a MacPython 1.5b1). And, of course, all Guido's |
| 25 | 1.5-final changes are incorporated. |
Jack Jansen | 7701fd9 | 1997-05-28 12:01:14 +0000 | [diff] [blame] | 26 | |
Jack Jansen | ecbc1cc | 1998-01-06 12:13:16 +0000 | [diff] [blame] | 27 | - Moved Mac:Lib:toolbox and scripting to lib-toolbox and lib-scripting, analogous |
| 28 | to Guido's changes. Initial sys.path settings reflect this change [*] |
| 29 | - Added cPickle and cStringIO modules [*] |
| 30 | - Balloon help in set-preferences dialog and EditPythonPrefs |
| 31 | - An interface to the Help Maganer has been added |
Jack Jansen | 188db7f | 1997-10-10 15:48:57 +0000 | [diff] [blame] | 32 | - New modules "preferences" and "pythonprefs" which allow access to |
| 33 | Python preferences and implements a general preference-handling |
Jack Jansen | ecbc1cc | 1998-01-06 12:13:16 +0000 | [diff] [blame] | 34 | framework. New EditPythonPrefs uses this. |
Jack Jansen | 188db7f | 1997-10-10 15:48:57 +0000 | [diff] [blame] | 35 | - Applescript suite modules are now in a separate Mac:Lib:scripting |
Jack Jansen | ecbc1cc | 1998-01-06 12:13:16 +0000 | [diff] [blame] | 36 | folder |
| 37 | - Most modules now export their type objects |
| 38 | - MacOS.SysBeep() and MacOS.GetTicks() added |
| 39 | - sys.prefix and sys.exec_prefix are now set correctly |
Jack Jansen | 188db7f | 1997-10-10 15:48:57 +0000 | [diff] [blame] | 40 | - Installation is now through an installer |
Jack Jansen | 9b2681b | 1997-10-08 15:35:17 +0000 | [diff] [blame] | 41 | - mkapplet and MkPluginAliases have been renamed to BuildApplet and |
Jack Jansen | 188db7f | 1997-10-10 15:48:57 +0000 | [diff] [blame] | 42 | ConfigurePython |
Jack Jansen | 9b2681b | 1997-10-08 15:35:17 +0000 | [diff] [blame] | 43 | - Applescript classes and properties are now exported by suites. Very |
Jack Jansen | 188db7f | 1997-10-10 15:48:57 +0000 | [diff] [blame] | 44 | sketchy documentation added to applescript.html |
| 45 | - Tkinter now uses tcl/tk 8.0 |
| 46 | - imports should be faster due to caching path information |
| 47 | - Generated suites now live in Mac:Lib:scripting |
| 48 | - Added zlib module |
| 49 | - Tkinter setfilehandler() did not work for sockets, fixed |
Jack Jansen | 9b2681b | 1997-10-08 15:35:17 +0000 | [diff] [blame] | 50 | - "Delay console window" option didn't work, fixed. Also check out the |
Jack Jansen | 188db7f | 1997-10-10 15:48:57 +0000 | [diff] [blame] | 51 | quietconsole.py module |
Jack Jansen | 9b2681b | 1997-10-08 15:35:17 +0000 | [diff] [blame] | 52 | - Menu bar is restored (if needed) when keeping console open after |
Jack Jansen | 188db7f | 1997-10-10 15:48:57 +0000 | [diff] [blame] | 53 | exit |
Jack Jansen | 9b2681b | 1997-10-08 15:35:17 +0000 | [diff] [blame] | 54 | - Influencing command-. and event processing (formerly MacOS.SetYield |
Jack Jansen | 188db7f | 1997-10-10 15:48:57 +0000 | [diff] [blame] | 55 | and MacOS.SetScheduleTimes) has been changed, see the manual |
Jack Jansen | 9b2681b | 1997-10-08 15:35:17 +0000 | [diff] [blame] | 56 | - FrameWork (or your own windowing code) can use asynchronous |
Jack Jansen | 188db7f | 1997-10-10 15:48:57 +0000 | [diff] [blame] | 57 | callbacks to keep user interface responsive during long computations |
Jack Jansen | 7701fd9 | 1997-05-28 12:01:14 +0000 | [diff] [blame] | 58 | - Module to interface to Internet Config added |
| 59 | - Module calldll added that allows calling of arbitrary C routines |
| 60 | from MacOS toolboxes |
| 61 | - gdbm module added |
| 62 | - ctb error handling fixed, and some memory leaks plugged |
| 63 | - Various of the documentation files in Mac:Demo have been updated |
| 64 | - MacOS.string_id_to_buffer is a new hack: the number you have to |
| 65 | add to the id() of a string object to get the (data) memory address |
| 66 | - MacOS.splash() double-free fixed |
| 67 | - macfs.FSSpec.as_pathname() was incorrect for disk toplevel folders |
| 68 | - QT.NewMovieFromFile has an extra parameter and an extra return value |
| 69 | - EasyDialogs.ProgressBar has changed both in layout and interface |
| 70 | - FrameWork.Application has a new cleanup() method which asks all windows |
| 71 | to close themselves. |
| 72 | - Loading of PYC resources from the application greatly speeded up, |
| 73 | especially for CDROM based applications |
| 74 | - interrupt check/eventloop only entered 10 times per second, giving |
| 75 | big speedup |
| 76 | - Allow any object (file, folder, disk) to be dropped on an applet |
| 77 | - Twit resource number conflict with debuggee fixed |
| 78 | - sys.path preference can now be longer than 255 chars |
| 79 | - cfmfile module allows parsing and merging of CFRG resources |
| 80 | - PythonFAT and PythonApplet are now fat (PPC/CFM68K) applications, so |
| 81 | applets can be moved between architectures. |
| 82 | - Twit resource number conflict with debuggee fixed |
| 83 | - mkapplet now uses a progress bar in stead of print statements |
| 84 | - unshar made a bit more mac-friendly (input output dialogs) |
| 85 | - img: added png, xbm, bmp support |
| 86 | - img: jpeg now uses IJG v6 library |
| 87 | - img: import of imagefile support modules delayed until needed |
| 88 | - img: better error handling for truncated images and such |
| 89 | - img: imgop.unpack() can unpack formats with multiple pixels per byte |
| 90 | |
Jack Jansen | ecbc1cc | 1998-01-06 12:13:16 +0000 | [diff] [blame] | 91 | - build numbers work and are maintained in macbuildno.h by fullbuild.py |
Jack Jansen | 188db7f | 1997-10-10 15:48:57 +0000 | [diff] [blame] | 92 | - We now use CW Pro 1, with multitarget projects and such goodies |
| 93 | - fixed xx plugin project for cfm68k |
Jack Jansen | 7701fd9 | 1997-05-28 12:01:14 +0000 | [diff] [blame] | 94 | - All files updated to new Py_ naming convention |
| 95 | - Toolbox modules regenerated from new Universal Headers |
| 96 | - nfullpath() merged into PyMac_GetFullPath() |
| 97 | - Added support for Metrowerks profiler |
| 98 | - Standard MW/MSL runtime libraries used in stead of homegrown version |
| 99 | - Allow any object (file, folder, disk) to be dropped on an applet |
| 100 | - Malloc now returns cache-line-aligned memory on PPC, which speeds |
| 101 | things up, especially on a 604. Dictionaries put this to good use. |
| 102 | - statically linked pythons won't inadvertantly load .slb modules |
| 103 | - Removed dependencies on PLStringFuncs and/or StdCLib |
| 104 | - Project "segment" structure changed to more-or-less follow folder |
| 105 | structure |
| 106 | - fullbuild redesigned |
| 107 | - Added PyMac_Initialize() call, for use by embedding programs. |