Commits

Jack Jansen  committed 38c12fa

Final tweaks for 2.2a3 distribution.

  • Participants
  • Parent commits ce57fff
  • Branches legacy-trunk

Comments (0)

Files changed (13)

File Mac/Build/PythonCore.exp

 PyErr_Display
 PyErr_PrintEx
 PyErr_Print
+PyRun_SimpleStringFlags
 PyRun_SimpleString
 PyRun_SimpleFileExFlags
 PyRun_SimpleFileEx
 PyInstance_NewRaw
 PyClass_IsSubclass
 PyInstance_New
+PyMethod_Class
+PyMethod_Self
+PyMethod_Function
 PyClass_New
 PyCObject_Type
 PyCObject_Import
 PyLong_AsVoidPtr
 PyLong_FromVoidPtr
 PyLong_AsDouble
+_PyLong_AsScaledDouble
 _PyLong_AsByteArray
 _PyLong_FromByteArray
 PyLong_AsUnsignedLong
 _Py_cobject_hack
 _Py_abstract_hack
 PyObject_ClearWeakRefs
+Py_DivisionWarningFlag
 _PyTrash_delete_later
 _PyTrash_delete_nesting
 _PyTrash_destroy_chain
 PyMem_Realloc
 PyMem_Malloc
 _Py_ReadyTypes
+PyObject_Dir
 PyCallable_Check
 PyNumber_Coerce
 PyNumber_CoerceEx
 PyTuple_Size
 PyTuple_New
 type_getsets
+subtype_getsets
 PyType_Type
 PyBaseObject_Type
 PySuper_Type
 RotateCursor
 SpinCursor
 PyMac_GetFullPath
-__convert_to_newlines
 PyMac_AppRefNum
 PyMac_options
 console_output_state
+__convert_to_newlines
 PyMac_GetDelayConsoleFlag
 Py_GetExecPrefix
 Py_GetPrefix
+Py_GetProgramFullPath
 Py_GetArgcArgv
-Py_GetProgramFullPath
 PyMac_Exit
 abort
 PyMac_OutputNotSeen
 sync
 initgestalt
 initmacfs
-PyMac_BuildFSSpec
-PyMac_BuildFSRef
-PyMac_GetFSRef
+_PyMac_BuildFSSpec
+_PyMac_BuildFSRef
+_PyMac_GetFSRef
 newmfssobject
 _PyMac_GetFSSpec
 initmac
 PyOS_snprintf
 proxytype
 wrappertype
-PyGetSet_Type
+PyProperty_Type
 PyWrapper_New
 PyDictProxy_New
 proxy_str
 _PyGC_Dump
 initgc
 PyMac_OSErrException
+PyMacGluePtr_PyMac_BuildFSSpec
 PyMacGluePtr_PyMac_GetFSSpec
+PyMacGluePtr_PyMac_BuildFSRef
+PyMacGluePtr_PyMac_GetFSRef
 PyMacGluePtr_AEDesc_New
 PyMacGluePtr_AEDesc_Convert
 PyMacGluePtr_CmpObj_New
 CmpObj_New
 AEDesc_Convert
 AEDesc_New
+PyMac_GetFSRef
+PyMac_BuildFSRef
 PyMac_GetFSSpec
+PyMac_BuildFSSpec
 PyMac_Buildwide
 PyMac_Getwide
 PyMac_BuildFixed

File Mac/Build/PythonCore.mcp

Binary file modified.

File Mac/Build/PythonCoreCarbon.exp

 PyErr_Display
 PyErr_PrintEx
 PyErr_Print
+PyRun_SimpleStringFlags
 PyRun_SimpleString
 PyRun_SimpleFileExFlags
 PyRun_SimpleFileEx
 PyInstance_NewRaw
 PyClass_IsSubclass
 PyInstance_New
+PyMethod_Class
+PyMethod_Self
+PyMethod_Function
 PyClass_New
 PyCObject_Type
 PyCObject_Import
 PyLong_AsVoidPtr
 PyLong_FromVoidPtr
 PyLong_AsDouble
+_PyLong_AsScaledDouble
 _PyLong_AsByteArray
 _PyLong_FromByteArray
 PyLong_AsUnsignedLong
 _Py_cobject_hack
 _Py_abstract_hack
 PyObject_ClearWeakRefs
+Py_DivisionWarningFlag
 _PyTrash_delete_later
 _PyTrash_delete_nesting
 _PyTrash_destroy_chain
 PyMem_Realloc
 PyMem_Malloc
 _Py_ReadyTypes
+PyObject_Dir
 PyCallable_Check
 PyNumber_Coerce
 PyNumber_CoerceEx
 PyTuple_Size
 PyTuple_New
 type_getsets
+subtype_getsets
 PyType_Type
 PyBaseObject_Type
 PySuper_Type
 RotateCursor
 SpinCursor
 PyMac_GetFullPath
-__convert_to_newlines
 PyMac_AppRefNum
 PyMac_options
 console_output_state
+__convert_to_newlines
 PyMac_GetDelayConsoleFlag
 Py_GetExecPrefix
 Py_GetPrefix
+Py_GetProgramFullPath
 Py_GetArgcArgv
-Py_GetProgramFullPath
 PyMac_Exit
 abort
 PyMac_OutputNotSeen
 sync
 initgestalt
 initmacfs
-PyMac_BuildFSSpec
-PyMac_BuildFSRef
-PyMac_GetFSRef
+_PyMac_BuildFSSpec
+_PyMac_BuildFSRef
+_PyMac_GetFSRef
 newmfsrobject
 newmfssobject
 _PyMac_GetFSSpec
 PyOS_snprintf
 proxytype
 wrappertype
-PyGetSet_Type
+PyProperty_Type
 PyWrapper_New
 PyDictProxy_New
 proxy_str
 _PyGC_Dump
 initgc
 PyMac_OSErrException
+PyMacGluePtr_PyMac_BuildFSSpec
 PyMacGluePtr_PyMac_GetFSSpec
+PyMacGluePtr_PyMac_BuildFSRef
+PyMacGluePtr_PyMac_GetFSRef
 PyMacGluePtr_AEDesc_New
 PyMacGluePtr_AEDesc_Convert
 PyMacGluePtr_CmpObj_New
 CmpObj_New
 AEDesc_Convert
 AEDesc_New
+PyMac_GetFSRef
+PyMac_BuildFSRef
 PyMac_GetFSSpec
+PyMac_BuildFSSpec
 PyMac_Buildwide
 PyMac_Getwide
 PyMac_BuildFixed

File Mac/Build/PythonStandSmall.mcp

Binary file modified.

File Mac/Distributions/(vise)/Python 2.2.vct

Binary file modified.

File Mac/Distributions/binary.include

 (':Extensions:README', None)
 (':Extensions:README.TOO', None)
 (':Extensions:audio', None)
+(':Extensions:example2:README', None)
+(':Extensions:example3:README', None)
+(':Extensions:example:README', None)
 (':Extensions:img:Lib', '')
 (':Extensions:img:Mac:genimgprojects.py', None)
 (':Extensions:img:Mac:imgcolormap.carbon.slb', '')
 (':Mac:Contrib:Sherlock', '')
 (':Mac:Contrib:Tabcleaner', '')
 (':Mac:Contrib:morefindertools', '')
+(':Mac:Contrib:osam:OSAm.carbon.slb', '')
 (':Mac:Contrib:osam:OSAm.exp', None)
 (':Mac:Contrib:osam:OSAm.ppc.slb', '')
 (':Mac:Contrib:osam:OSAm.ppc.slb.sit', None)
 (':Mac:MPW', None)
 (':Mac:Modules', None)
 (':Mac:OSX:README.macosx.txt', None)
-(':Mac:PlugIns', '')
+(':Mac:OSXResources', None)
 (':Mac:Python:Icon', None)
 (':Mac:ReadMe', ':ReadMe')
 (':Mac:ReadMe-dev', None)
 (':Objects:Icon', None)
 (':PC', None)
 (':PCbuild', None)
+(':PLAN.txt', None)
 (':Parser:Icon', None)
 (':Python IDE', None)
 (':Python:Icon', None)
 (':loop.py', None)
 (':mac2unix-real.shar', None)
 (':mac2unix.shar', None)
+(':pyconfig.h.in', None)
 (':pystone.py', None)
 (':setup.py', None)
 (':site-packages', None)
-(':Extensions:example3:README', None)
-(':Extensions:example2:README', None)
-(':Extensions:example:README', None)
-(':Mac:Contrib:osam:OSAm.carbon.slb', '')
+(':Mac:OSX:README', None)

File Mac/Distributions/dev.include

 (':Mac:Lib', None)
 (':Mac:MPW', None)
 (':Mac:Modules', None)
-(':Mac:OSX:README.macosx.txt', None)
 (':Mac:OSXResources', None)
 (':Mac:OSXResources:', None)
 (':Mac:PlugIns:readme.txt', None)
 (':Mac:ReadMe-src', None)
 (':Mac:Relnotes', None)
 (':Mac:Relnotes-source', None)
+(':Mac:Resources:Carbon.r', None)
+(':Mac:Resources:balloons.bh', None)
+(':Mac:Resources:bundle.rsrc', None)
+(':Mac:Resources:dialogs.rsrc', None)
+(':Mac:Resources:errors.rsrc', None)
+(':Mac:Resources:gusiprefs.rsrc', None)
+(':Mac:Resources:pythonpath.r', '')
+(':Mac:Resources:tkpython.rsrc', None)
+(':Mac:Resources:version.r', None)
 (':Mac:TODO', None)
 (':Mac:Tools:BBPy', None)
 (':Mac:Tools:CGI', None)
 (':Modules:yuv.h', None)
 (':Modules:yuvconvert.c', None)
 (':Modules:zlibmodule.c', None)
+(':Modules:zlibmodule.c~0', None)
+(':Modules:zlibmodule.c~1', None)
 (':Objects', None)
 (':Objects:Icon\r', None)
 (':PC', None)
 (':readmefiles', None)
 (':setup.py', None)
 (':site-packages', None)
-(':Mac:Resources:pythonpath.r', '')
-(':Mac:Resources:version.r', None)
-(':Mac:Resources:tkpython.rsrc', None)
-(':Mac:Resources:gusiprefs.rsrc', None)
-(':Mac:Resources:errors.rsrc', None)
-(':Mac:Resources:dialogs.rsrc', None)
-(':Mac:Resources:Carbon.r', None)
-(':Mac:Resources:bundle.rsrc', None)
-(':Mac:Resources:balloons.bh', None)
+(':Mac:OSX:README.macosx.txt', None)
+(':Mac:OSX:README', None)
+(':Mac:OSX:Makefile', None)

File Mac/Distributions/src.exclude

 *.slb
 *.xMAP
 *.xSYM
+*~[0-9]
 .#*
 .cvsignore
 @*
 Makefile.pre.in
 PyIDE-src
 [(]*[)]
-*~[0-9]

File Mac/Distributions/src.include

 (':BuildApplet', None)
 (':BuildApplication', None)
 (':ConfigurePython', None)
+(':ConfigurePythonCarbon', None)
+(':ConfigurePythonClassic', None)
 (':Demo', '')
 (':Doc', None)
 (':EditPythonPrefs', None)
 (':Extensions:README', '')
 (':Extensions:README.TOO', '')
 (':Extensions:audio', None)
+(':Extensions:example', '')
+(':Extensions:example2', '')
+(':Extensions:example3', '')
 (':Extensions:img', '')
 (':Extensions:midi', None)
 (':Extensions:pyexpat', None)
 (':Mac:Lib', '')
 (':Mac:MPW', '')
 (':Mac:Modules', '')
-(':Mac:PlugIns:readme.txt', '')
 (':Mac:Python', '')
 (':Mac:ReadMe', '')
 (':Mac:ReadMe-dev', None)
 (':Mac:Tools:bruce', None)
 (':Mac:Tools:macfreeze', '')
 (':Mac:Unsupported', '')
+(':Mac:Wastemods', '')
 (':Mac:_checkversion.py', None)
 (':Mac:mwerks', '')
 (':Mac:mwerks:old', None)
 (':Python68K', None)
 (':PythonApplet', None)
 (':PythonCore', None)
+(':PythonCoreCarbon', None)
 (':PythonFAT', None)
 (':PythonInterpreter', None)
+(':PythonInterpreterCarbon', None)
+(':PythonInterpreterClassic', None)
 (':PythonPPC', None)
 (':PythonStandCarbon', None)
 (':PythonStandSmall', None)
 (':PythonStandSmallThreading', None)
 (':PythonStandalone', None)
 (':README', '')
+(':RISCOS', None)
 (':Tools:Icon\r', None)
 (':Tools:README', '')
 (':Tools:audiopy', '')
 (':mac2unix.shar', None)
 (':mkapplet', None)
 (':pystone.py', None)
+(':setup.py', None)
 (':site-packages', None)
-(':setup.py', None)
-(':PythonInterpreterClassic', None)
-(':PythonInterpreterCarbon', None)
-(':PythonCoreCarbon', None)
-(':ConfigurePythonClassic', None)
-(':ConfigurePythonCarbon', None)
-(':Extensions:example', '')
+(':PLAN.txt', '')
+(':PythonStandSmallCarbon', None)
+(':PythonCarbonStandalone', None)
+(':Mac:OSXResources', '')
 (':Mac:OSX', '')
-(':Mac:Wastemods', '')
-(':Extensions:example2', '')
-(':Extensions:example3', '')
-(':RISCOS', None)

File Mac/Include/macbuildno.h

-#define BUILD 104
+#define BUILD 107
-How to install Python 2.2a2 on your Macintosh
+How to install Python 2.2a3 on your Macintosh
 ---------------------------------------------
 
 This is a MacPython that can run on classic MacOS (from 8.1
 your machine. This is a general problem with Vise active installers, MindVision
 are working on it.
 
-Aside from the general new Python 2.2a2 listed in the general relnotes file
+Aside from the general new Python 2.2a3 listed in the general relnotes file
 there is some other new machine-independent stuff in this release as well, as
-it was built from newer sources than unix/windows 2.2a2.
+it was built from newer sources than unix/windows 2.2a3.
 ------
 
 If this is your first encounter with Python: you definitely need the
 for reading MacPython will now accept either unix linefeeds (LF, '\n') or
 Macintosh linefeeds (CR, '\r') and present both of them as '\n'. This is done on
 a low level, so it works for files opened by scripts as well as for your scripts
-and modules itself.
+and modules itself. This can be turned off with a preference/startup option.
 
 But:
 - this works only for input, and there's no way to find out what the original
   linefeed convention of the file was.
-- this is unconditional, so there's no way to turn it off, either on a file-by-file
-  basis or globally (but opening binary files works as it always has, of course).
 - Windows \r\n linefeeds are not supported and get turned into \n\n.
 
 What to install
 ----------------
 
 It is probably a good idea to run the automatic tests. Start
-Python and "import test.autotest". 
+Python and "import test.regrtest ; test.regrtest.main()". 
 
-Three tests will fail on MacOS9, all with MemoryErrors:
+test_time will fail because MacPython accepts bogus values for mktime(), this
+will be fixed later.
+
+test_descrtut will fail because of a problem with the test itself.
+
+Three tests will fail on MacOS9 with MemoryErrors:
 test_longexp, test_sha and test_zlib (on MacOSX nothing should fail).
 
 If you increase the PythonInterpreter memory
 
 Two items are installed in the system folder: the interpreter shared
 libraries PythonCore and PythonCoreCarbon lives in the Extensions folder and the
-"Python 2.2a2 Preferences" file in the Python subfolder in the
+"Python 2.2a3 Preferences" file in the Python subfolder in the
 Preferences folder. All the rest of Python lives in the folder you
 installed in.
 
 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.2a2 works as expected you can trash
+After you are satisfied that 2.2a3 works as expected you can trash
 anything in the system folder that has "python" in the name and not
-"2.2a2".
+"2.2a3".
 
 The ConfigurePython... applets will try to detect incompatible preferences
 files and offer to remove them. This means that re-running ConfigurePython after
 Corran Webster, Tony Ingraldi, Erik van Blokland, Bill Bedford, Chris
 Stern, Gordon Worley, Oliver Steele, M. Papillon, Steven Majewski, David
 Goodger, Chris Barker, Luc Lefebvre, Tattoo Mabonzo K., Russell Finn,
-Tom Bridgman, Russel Owen, Pascal Oberndoerfer, Dean Draayer
+Tom Bridgman, Russel Owen, Pascal Oberndoerfer, Dean Draayer,
+Alexandre Parenteau,
 and all the other people who provided feedback, code or both!
 
 MacPython includes waste, a TextEdit replacement which is (c) 1998 Marco Piovanelli.

File Mac/Relnotes

-Changes in 2.2a2 since 2.1.1
+Changes in 2.2a3 since 2.1.1
 ----------------------------
 
 These release notes refer to Mac-specific changes only. See NEWS (in the Misc folder)
-for machine-independent changes. But note that more things may have changed: MacPython
-2.2a2 is built from newer sources than unix/windows 2.2a2 (for CVS users: the r22a2-mac
-tag is what you are looking for).
+for machine-independent changes.
 
 - The main change is that all toolbox modules have moved to a package called Carbon.
   So things like "import Res" should be changed to "from Carbon import Res", and
   to contribute. Aside from reducing clutter this change will also benefit the
   port to Mach-O/OSX Python later.
 - On input MacPython now accepts either \n (unix style) or \r (mac style) newlines
-  for text files. This is an experimental feature; again: feedback is requested.
+  for text files. This behaviour can be turned off with a preference.
+  This is an experimental feature; again: feedback is requested.
 - There is a new module macresource which makes it easier to open a resource file
   accompanying your script when the script is not (yet) converted to an applet.
   This module will later also do the right thing in Mach-O/OSX Python.
 - Garbage collection and the gc module have (finally) been enabled.
 - EasyDialogs.ProgressBar now has indeterminate progressbars if you specify maxval=0.
   This is also the new default. Patch supplied by Dean Draayer.
+- There are new preferences for enabling old-style division warnings and for
+  accepting unix-style newlines in text input files. These can also be set during
+  startup, and in addition you can select very verbose import tracing.
 - Various outdated scripts have been moved to :Mac:Unsupported.
 - Various outdated items from :Mac:Lib:test have been removed.
 
 This list is probably incomplete, more problems may be listed on the MacPython homepage,
 http://www.cwi.nl/~jack/macpython.html.
 
-- MacPython 2.2a2 (and MacPython 2.1) will not run correctly on a multiprocessor MacOS X
+- MacPython 2.2a3 (and MacPython 2.1) will not run correctly on a multiprocessor MacOS X
   machine, it will quickly deadlock during I/O operations. The GUSI I/O library is suspected,
   hints/clues/workarounds are solicited.
 - Tkinter does not work under Carbon.

File Mac/_checkversion.py

 import pyversioncheck
 
 _PACKAGE="MacPython"
-_VERSION="2.1.1"
+_VERSION="2.2a3"
 _URL="http://www.cwi.nl/~jack/macpythonversion.txt"
 
 try: