]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Files used for MacPython 2.2.2 distribution.
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 29 Oct 2002 22:06:28 +0000 (22:06 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 29 Oct 2002 22:06:28 +0000 (22:06 +0000)
Mac/Build/PythonInterpreter.mcp
Mac/Distributions/(vise)/Python 2.2.vct
Mac/Include/macbuildno.h
Mac/ReadMe
Mac/Relnotes
Mac/_checkversion.py

index 69ee6cfa89b1b24813b5df4cf9944bf28c83e3d5..83b31058bbb36a9f879a1dcc41ec02930244b7fa 100644 (file)
Binary files a/Mac/Build/PythonInterpreter.mcp and b/Mac/Build/PythonInterpreter.mcp differ
index 95b952e7f1e3d4664801291bd4a817d67fd15321..e2c64ee1663ba1d08557aa9913704b16b86314a9 100644 (file)
Binary files a/Mac/Distributions/(vise)/Python 2.2.vct and b/Mac/Distributions/(vise)/Python 2.2.vct differ
index a2c57c8a1bf4f9ccd51bfe4c1b0fb51d31933750..5edb2d5437de6aefff0b7af6ff191ee490a73b5e 100644 (file)
@@ -1 +1 @@
-#define BUILD 133
+#define BUILD 138
index 977f74c3069f6d390afd7d17683aef8ec8f2ce5b..893a8c8041703670f403eb28eab472ed00354253 100644 (file)
@@ -1,11 +1,12 @@
-How to install Python 2.2.1 on your Macintosh
+How to install Python 2.2.2 on your Macintosh
 ---------------------------------------------
 
 This is a MacPython that can run on classic MacOS (from 8.1
 onwards) and natively on MacOSX. The installer tries to work out whether you can
 use the Carbon version or not. For Mac OS X users: this version of Python
 does not run from the command line, it is a pure "Mac only" app. Use the standard
-unix Python from the commandline, the two Pythons will be merged in the future.
+unix Python from the commandline, the two Pythons will be merged in the future, see
+the note on "What is in a name" below.
 
 You should definitely read the Relnotes file too, and the section below about
 toolbox module reorganization. You should also read :Misc:NEWS, which lists
@@ -33,7 +34,7 @@ This installer installs MacPython for classic PPC MacOS, MacPython for Carbon
 configuration. By selecting custom install you can bypass these tests and
 install what you want.
 
-If you want 68k support you will have get MacPython 1.5.2.
+If you want 68k support you will have to get MacPython 1.5.2.
 
 What to install
 ---------------
@@ -42,7 +43,7 @@ The optional parts in this distribution are
 - TK+PIL: Tkinter and support modules, plus Imaging, the Python image
   manipulation package (allows you to read, write and display images and
   do lots of operations on them). 
-  For Carbon MacPython you only get PIL: there is no Tcl/Tk for Carbon yet.
+  For Carbon MacPython you only get PIL: there is no Tcl/Tk for Carbon.
   This is the reason Classic MacPython is also installed on MacOSX: it
   allows you to run Tkinter applications, albeit in the Classic box.
 - img: another imaging package. Has more file format support and is faster
@@ -83,14 +84,7 @@ Python and "import test.regrtest ; test.regrtest.main()".
 test_frozen will fail in MacPython because of different handling on
 frozen modules. This should not be a problem in normal use.
 
-test_time will fail because MacPython accepts bogus values for
-mktime(), this will be fixed later (it is not a very serious problem).
-
-test_email will fail during summer (no kidding:-). Actually, it will fail
-when DST is active, because the date parsing test is GMT-centric
-and does not handle the Macintosh's localtime very well.
-
-Three tests will fail on MacOS9 with MemoryErrors:
+Three tests may fail on MacOS9 with MemoryErrors:
 test_longexp, test_sha and test_zlib (on MacOSX these should pass).
 
 If you increase the PythonInterpreter memory partition size they will
@@ -112,6 +106,34 @@ If your program uses Tkinter you MUST run it under PythonInterpreter,
 Tkinter and IDE are incompatible and your program will fail in strange
 ways.
 
+What is in a name?
+------------------
+
+A lot, actually:-) Especially if you are looking for "a Python for a Macintosh"
+and assume that MacPython will fit that bill. Traditionally, MacPython was the
+only solution, but with the appearance of MacOSX there are more possibilities.
+MacPython 2.2.X is meant primarily for "old MacOS", but as unix-Python 2.2.X
+misses a lot of the mac-specific functionality for some applications it is
+still the best choice on MacOSX as well. For unix-related tasks you are better
+off with unix-Python 2.2.X, and as of OSX 10.2 Apple ships a Python (version 2.2)
+standard.
+
+Another possibility on OSX is to use a framework-based build of unix-Python 2.2.X,
+which does include most of the mac goodies. This python is colloquially known
+as MachoPython, and you will need it to run Tkinter programs natively, or use
+wxWindows. See the MacPython homepage for details.
+
+The current expectation is that by the time 2.3 comes out (early 2003) MacOSX
+will be so well established that we will use the name "MacPython 2.3" to refer
+to the OSX-only framework build of unix-Python, which by then will include all
+the mac goodies. The OS9 version will probably be called something like
+MacOS9Python 2.3.
+
+The distinction between these versions and there names is especially important
+if you join the discussions on the MacPython mailing list, and it is a good idea
+to clearly state your Python and MacOS version when asking for advice or submitting
+bug reports.
+
 OSX Multiple users note
 -----------------------
 
@@ -126,9 +148,16 @@ If you install as a privileged user and then try to run
 Python as another (non-privileged) user you may encounter a problem with
 not having a preference file: the symptom is failing to import all sorts
 of standard modules. If you remove your per-user Python preference files
-(in ~/Library/Preferences) and then run PythonIntpreter once everything should
+(in ~/Library/Preferences) and then run PythonInterpreter once everything should
 be fine.
 
+MacOS 8.1 note
+--------------
+
+The distribution is fully functional as far back as MacOS 8.1, with one exception:
+the IDE as installed is not compatible with 8.1. There is a separate path for running
+the IDE on 8.1 available at http://www.cwi.nl/~jack/macpython.html .
+
 Uninstalling
 ------------
 
@@ -182,9 +211,9 @@ this means you can keep your older version around if you are unsure
 whether to upgrade. The bad news is that your old preference settings
 are lost and you have to set them again.
 
-After you are satisfied that 2.2.1 works as expected you can trash
+After you are satisfied that 2.2.2 works as expected you can trash
 anything in the system folder that has "python" in the name and not
-"2.2.1".
+"2.2.2".
 
 The ConfigurePython... applets will try to detect incompatible
 preferences files and offer to remove them. This means that re-running
@@ -235,7 +264,8 @@ Feedback
 Send bug reports, suggestions, contributions and fanmail to
 <jack@cwi.nl>. However, a better way to discuss MacPython is to join the
 <pythonmac-sig@python.org> mailing list, which is explicitly meant for
-this purpose.
+this purpose. And please remember what's said in the note on "what's in
+a name" above.
 
 
 Jack Jansen
index 1dcecefa3f288f522f9bfc77203167044114c3f9..f78039db5ee28db2c1a5947a60cab4ddf6c5dff9 100644 (file)
@@ -1,61 +1,14 @@
-Changes in 2.2.1 since 2.2
+Changes in 2.2.2 since 2.2.1
 ----------------------------
 
 These release notes refer to Mac-specific changes only. See NEWS (in the Misc folder)
-for machine-independent changes. These notes are meant primarily for MacPython
-but some of the information may be relevant to using Mac-specific features under
-Mac OS X unix Python (a.k.a. MachoPython) too.
-
-- This release should work on multiprocessor OSX machines.
-- The problem with incomplete read()s on sockets has been fixed.
-- NavServices is now weaklinked, so this release should work on a virgin Mac OS 8.1.
-- test_longexp took days to finish on OSX. It now fails with a message so the
-  other tests continue.
-- The IDE looks better under OSX after redesign of some windows.
-- The IDE class browser and object browser now work under OSX.
-- The IDE browser now has some understanding of the 2.2 object model.
-- IDE readline() output is echoed to the output window.
-- IDE output is flushed to the screen more often under OSX.
-- IDE doesn't have a second quit menu under OSX anymore.
-- IDE scrollbars now have live feedback.
-- IDE now does copy/paste under OSX.
-- IDE: minimal support for floating windows.
-- The IDE now sort-of works under MachoPython.
-- macostools.mkalias() can now handle folders.
-- macresource module fixed to work under MachoPython.
-- macfs.FSRef objects now have an as_pathname method.
-- The ic module returned bogus values for creator/type. Fixed.
-- Most toolbox modules now weaklink against InterfaceLib (or CarbonLib) so
-  they can be imported even if not all functionality is available. Calling a
-  method missing on your system will raise an exception.
-- Carbon.App: support for various missing methods added.
-- Carbon.CarbonEvt: various method signatures fixed.
-- Carbon.CF: Unicode support added.
-- Carbon.CG: did not import. Fixed.
-- Carbon.CG:  various missing methods added.
-- Carbon.Ctl: ControlActionProcs weren't supported. Fixed.
-- Carbon.Drag: exceptions in callback routines are now printed.
-- Carbon.Fm: QDTextBounds was missing. Added.
-- Carbon.Menu: support for optional MenuObjs was added.
-- Carbon.Mlte: unicode support added.
-- Carbon.Scrap: fixed to work under Carbon by finally implementing the
-  Carbon Scrap Manager interface.
-- Carbon.Snd: SndRecord and SndRecordToFile were missing. Added.
-- Applescript suites had a problem with the required events being in either Standard
-  or Required. Fixed by introducing a new common base suite for them.
-- Applescript example rewritten.
-- Applescript can now handle Unicode parameters.
-- An Applescript suite with a start() event no longer causes problems.
-- Exceptions in AE callback routines are now printed.
-- waste: updated to current version, thereby getting it to work under MachoPython.
-- gensuitemodule: better handling of verbs that are Python keywords.
-- gensuitemodule: enum values are now identify()d.
-- MachoPython: Python.app build process fixed.
-- MachoPython: Python.app can now be called from the command line.
-- MachoPython: MacOS error exceptions now include the textual error in
-  stead of only the numeric error code.
-- Embedding: don't call PyMac_OutputSeen if we have a custom console.
+for machine-independent changes. 
 
+- The installer is now based on VISE 8.0, and should work fine on MacOSX.
+- A problem with Python randomly refusing to run on OSX, presenting only
+  a window with <<terminated>> in the title, has been solved.
+- A Jaguar problem with AppleEvent errors being ignored has been fixed.
 Known problems
 --------------
 
index 019d0efd011f884b895c526aff1fc0e25ae4fcdf..df336acd6f7578edb3cf7dc87b31b26bbf0fb5ba 100644 (file)
@@ -5,7 +5,7 @@ _checkversion.py file"""
 import pyversioncheck
 
 _PACKAGE="MacPython"
-_VERSION="2.2.1"
+_VERSION="2.2.2"
 _URL="http://www.cwi.nl/~jack/macpythonversion.txt"
 
 try: