Kaydet (Commit) d0ddb66c authored tarafından Jack Jansen's avatar Jack Jansen

Updated for 1.5.1

üst 804fdc80
How to install Python 1.5b3 on your Macintosh How to install Python 1.5.1 on your Macintosh
--------------------------------------------- ---------------------------------------------
If this is your first encounter with Python: you definitely need the If this is your first encounter with Python: you definitely need the
...@@ -11,18 +11,13 @@ Mac-specific documentation is included in this distribution in folder ...@@ -11,18 +11,13 @@ Mac-specific documentation is included in this distribution in folder
Mac:Demo. The documentation is sparse, but it will have to serve for Mac:Demo. The documentation is sparse, but it will have to serve for
now. The documentation is in HTML format, start with index.html. now. The documentation is in HTML format, start with index.html.
Why 1.5b3? Caveats
---------- -------
The reason for distributing a third beta release for the Mac (unlike for There are still problems with cfm68k Python. 68K Mac users should
other platforms) is that there are still some problems. The main problem probably try to use the cfm68k distribution first, and revert to the
is that packages ("dotted import") seem to have problems when used classic 68k distribution in case the bugs make their Python
under cfm68k. Other outstanding problems are tkinter problems with menus unworkable. The main problem is that packages ("dotted import") and
(all platforms) and NumPy printing problems (cfm68k). Please report your NumPy printing don't work.
findings with this distribution to pythonmac-sig@python.org, so we can
try to iron out the problems and have a normal 1.5 distribution in a few
weeks time.
The non-system-dependent part of this distribution is identical to 1.5 final.
What to install What to install
--------------- ---------------
...@@ -67,17 +62,14 @@ all .pyc files, but this isn't very important, as pyc files are ...@@ -67,17 +62,14 @@ all .pyc files, but this isn't very important, as pyc files are
created on-the-fly as well. You may also want to skip this step if you created on-the-fly as well. You may also want to skip this step if you
are low on diskspace. are low on diskspace.
Next, it is probably a good idea to run the automatic tests. Start Python Next, it is probably a good idea to run the automatic tests. Start
and "import test.autotest". This should not print any errors. It will, Python and "import test.autotest". This should not print any
however, print some messages about optional features not errors. It will, however, print some messages about optional features
supported. Also, if you didn't run compileall before autotesting you not supported. Also, if you didn't run compileall before autotesting
may run out of memory the first time you run the tests. you may run out of memory the first time you run the
tests. test_socket may also fail if you have no internet
NOTE: as of 1.5b3 the test test_strftime will fail. This is due to a connection. Please also read the Relnotes file for other minor
problem with the way the MetroWerks handles %% escapes in strftime() problems with this distribution.
strings, and there is little I can do about it. test_socket may also
fail if you have no internet connection. Please also read the Relnotes
file for other minor problems with this distribution.
PPC and CFM68K users have a couple of applets in the main folder they PPC and CFM68K users have a couple of applets in the main folder they
may want to try, (68K users can use the corresponding scripts from the may want to try, (68K users can use the corresponding scripts from the
...@@ -105,8 +97,8 @@ Uninstalling ...@@ -105,8 +97,8 @@ Uninstalling
------------ ------------
Two items are installed in the system folder: the interpreter shared Two items are installed in the system folder: the interpreter shared
library "PythonCore 1.5b3" lives in the Extensions folder and the library "PythonCore 1.5.1" lives in the Extensions folder and the
"Python 1.5b3 Preferences" file in the Preferences folder. All the rest "Python 1.5.1 Preferences" file in the Preferences folder. All the rest
of Python lives in the folder you installed in. of Python lives in the folder you installed in.
Things to see Things to see
...@@ -126,9 +118,11 @@ you to understand how to use AppleEvents and various other toolboxes ...@@ -126,9 +118,11 @@ you to understand how to use AppleEvents and various other toolboxes
from python. from python.
The 'img' group of modules, which handles I/O of many different image The 'img' group of modules, which handles I/O of many different image
formats (not pict yet, sigh:-) is included, but without documentation. formats is included, but without documentation. You can find docs at
You can find docs at ftp://ftp.cwi.nl/pub/jack/python/img (or somewhere ftp://ftp.cwi.nl/pub/jack/python/img (or somewhere around there).
around there).
Finally there is a Mac:Contrib folder which contains some contributed
software, mainly for various AppleScript things.
Upgrading from older Python releases Upgrading from older Python releases
------------------------------------ ------------------------------------
......
This is the Python 1.5b3 plugin development distribution. It should be loaded This is the Python 1.5.1 plugin development distribution. It should be loaded
on top of a 1.5b3 binary distribution and enables you to create plugin modules on top of a 1.5.1 binary distribution and enables you to create plugin modules
without having a full source distribution available. The contents of folders without having a full source distribution available. The contents of folders
whose names start with INTO should be merged into the corresponding folders. whose names start with INTO should be merged into the corresponding folders.
...@@ -16,4 +16,4 @@ This distribution usually lives somewhere under http://www.cwi.nl/~jack/macpytho ...@@ -16,4 +16,4 @@ This distribution usually lives somewhere under http://www.cwi.nl/~jack/macpytho
or ftp://ftp.cwi.nl/pub/jack/python/mac. or ftp://ftp.cwi.nl/pub/jack/python/mac.
Jack Jansen, <jack@cwi.nl>, 02-Jan-98 Jack Jansen, <jack@cwi.nl>, 27-Apr-98
This is the Python 1.5b3 source distribution. More information can be found This is the Python 1.5.1 source distribution. More information can be found
in the following files: in the following files:
Mac:ReadMe ReadMe file for the normal (binary) distribution Mac:ReadMe ReadMe file for the normal (binary) distribution
...@@ -10,4 +10,4 @@ This distribution usually lives somewhere under http://www.cwi.nl/~jack/macpytho ...@@ -10,4 +10,4 @@ This distribution usually lives somewhere under http://www.cwi.nl/~jack/macpytho
or ftp://ftp.cwi.nl/pub/jack/python/mac. or ftp://ftp.cwi.nl/pub/jack/python/mac.
Jack Jansen, <jack@cwi.nl>, 02-Jan-98 Jack Jansen, <jack@cwi.nl>, 27-Apr-98
Release notes for MacPython 1.5b3 Release notes for MacPython 1.5.1
--------------------------------- ---------------------------------
Open Issues and bugs: Open Issues and bugs:
- Packages ("dotted import") appears to have problems for the cfm68k version - Packages ("dotted import") appears to have problems for the cfm68k
of MacPython. Please report anything of interest you find as soon as possible, version of MacPython. Please report anything of interest you find as
preferrably to pythonmac-sig@python.org. soon as possible, preferrably to pythonmac-sig@python.org. I no longer
- import test.autotest fails the test_strftime test on %%. This is a bug in the have access to a reasonable 68K machine, so it may well be that this
MetroWerks C strftime() routine. Test_re takes a loooooooooong time, by the way. means the demise of cfm68k Python is near.
- Tk menus may or may not work. Please let me know. - Printing a NumPy "array([1.2])" may cause a crash in
- Occasionally Python becomes non-reactive to mouseclicks after switching it to cfm68k-Python. Same comments as above.
background and foreground again. If you experience this please let me know,
explaining the circumstances.
- Printing a NumPy "array([1.2])" may cause a crash in cfm68k-Python. If you have
a 68k machine, a MetroWerks debugger, time and interest in NumPy: please let me
know and I'll ask you to help hunting this bug.
Changes since the previous version: Changes since the previous version:
Here are the mac-specific changes since MacPython 1.4, with end-user-visible Here are the mac-specific changes since MacPython 1.4, with
changes near the top and API changes and other things that are developer-only end-user-visible changes near the top and API changes and other things
more to the bottom. Changes marked with a [*] are new changes since that are developer-only more to the bottom. Changes marked with a [*]
1.5a3 (there has not been a MacPython 1.5b1). And, of course, all Guido's are new changes since 1.5b3 (there has never been a MacPython 1.5
1.5-final changes are incorporated. final). And, of course, all Guido's 1.5.1 changes are
incorporated.
- Moved Mac:Lib:toolbox and scripting to lib-toolbox and lib-scripting, analogous - Imported modules are now case-checked: the case of the filename
to Guido's changes. Initial sys.path settings reflect this change [*] should match the name under which you import it [*]
- Added cPickle and cStringIO modules [*] - There is now some minimal documentation on building true standalone
applications in Python, see building.html [*]
- Python's private resources now use numbers from 228 up, because of
conflicts with Tk. This may affect you if you include private
resources in applets. [*]
- Audio_mac spike bug fixed. [*]
- FrameWork menu cleanup fixed. [*]
- More MacOS errors now have a (somewhat) symbolic description. [*]
- mactty module added to allow basic access to a serial line. [*]
- toolbox modules have been regenerated, occasionally giving access to
new functionality. They are now based upon Universal Headers version
3.1 [*]
- Waste module now uses Waste 1.3 [*]
- Waste module now exports WE{Get,Set}TabSize [*]
- Ordinal support in aetypes added (by Bill Bedford) [*]
- ColorPicker module added (by Just van Rossum). It isn't documented,
but the docstring should be good enough. [*]
- Printing module added (by Just van Rossum). It isn't documented and
it isn't easy to understand, but with Inside Mac beside you it might
be useable. There's a test script in Mac:Lib:test. [*]
- Sndihooks module added to give access to sound-input. Only lightly
tested and not documented yet. [*]
- fstat() added to mac module. [*]
- double dispose in MacOS.splash() fixed. [*]
- Qt module now supports getting/setting movie times [*]
- BuildApplet now also accepts old applets as input, which are updated
to the current Python version [*]
- Moved Mac:Lib:toolbox and scripting to lib-toolbox and
lib-scripting, analogous to Guido's changes. Initial sys.path settings
reflect this change
- Added cPickle and cStringIO modules
- Balloon help in set-preferences dialog and EditPythonPrefs - Balloon help in set-preferences dialog and EditPythonPrefs
- An interface to the Help Maganer has been added - An interface to the Help Maganer has been added
- New modules "preferences" and "pythonprefs" which allow access to - New modules "preferences" and "pythonprefs" which allow access to
......
...@@ -5,7 +5,7 @@ _checkversion.py file""" ...@@ -5,7 +5,7 @@ _checkversion.py file"""
import pyversioncheck import pyversioncheck
_PACKAGE="MacPython" _PACKAGE="MacPython"
_VERSION="1.5b3" _VERSION="1.5.1"
_URL="http://www.cwi.nl/~jack/macpythonversion.txt" _URL="http://www.cwi.nl/~jack/macpythonversion.txt"
try: try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment