Checking mac-specific stuff from the 2.3a2 branch in on the trunk.

This commit is contained in:
Jack Jansen 2003-02-21 22:33:55 +00:00
parent 4c641d0ce1
commit 5bb97e66dc
13 changed files with 42 additions and 30 deletions

View File

@ -633,6 +633,7 @@ _expectations = {
test_poll test_poll
test_popen test_popen
test_popen2 test_popen2
test_posix
test_pty test_pty
test_pwd test_pwd
test_resource test_resource

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -94,6 +94,9 @@
(':Mac:Build:_AH.carbon.mcp', None) (':Mac:Build:_AH.carbon.mcp', None)
(':Mac:Build:_AH.carbon.mcp.exp', None) (':Mac:Build:_AH.carbon.mcp.exp', None)
(':Mac:Build:_AH.carbon.mcp.xml', None) (':Mac:Build:_AH.carbon.mcp.xml', None)
(':Mac:Build:_Alias.carbon.mcp', None)
(':Mac:Build:_Alias.carbon.mcp.exp', None)
(':Mac:Build:_Alias.carbon.mcp.xml', None)
(':Mac:Build:_App.carbon.mcp', None) (':Mac:Build:_App.carbon.mcp', None)
(':Mac:Build:_App.carbon.mcp.exp', None) (':Mac:Build:_App.carbon.mcp.exp', None)
(':Mac:Build:_App.carbon.mcp.xml', None) (':Mac:Build:_App.carbon.mcp.xml', None)
@ -139,12 +142,18 @@
(':Mac:Build:_Evt.mcp', None) (':Mac:Build:_Evt.mcp', None)
(':Mac:Build:_Evt.mcp.exp', None) (':Mac:Build:_Evt.mcp.exp', None)
(':Mac:Build:_Evt.mcp.xml', None) (':Mac:Build:_Evt.mcp.xml', None)
(':Mac:Build:_File.carbon.mcp', None)
(':Mac:Build:_File.carbon.mcp.exp', None)
(':Mac:Build:_File.carbon.mcp.xml', None)
(':Mac:Build:_Fm.carbon.mcp', None) (':Mac:Build:_Fm.carbon.mcp', None)
(':Mac:Build:_Fm.carbon.mcp.exp', None) (':Mac:Build:_Fm.carbon.mcp.exp', None)
(':Mac:Build:_Fm.carbon.mcp.xml', None) (':Mac:Build:_Fm.carbon.mcp.xml', None)
(':Mac:Build:_Fm.mcp', None) (':Mac:Build:_Fm.mcp', None)
(':Mac:Build:_Fm.mcp.exp', None) (':Mac:Build:_Fm.mcp.exp', None)
(':Mac:Build:_Fm.mcp.xml', None) (':Mac:Build:_Fm.mcp.xml', None)
(':Mac:Build:_Folder.carbon.mcp', None)
(':Mac:Build:_Folder.carbon.mcp.exp', None)
(':Mac:Build:_Folder.carbon.mcp.xml', None)
(':Mac:Build:_Help.carbon.mcp', None) (':Mac:Build:_Help.carbon.mcp', None)
(':Mac:Build:_Help.carbon.mcp.exp', None) (':Mac:Build:_Help.carbon.mcp.exp', None)
(':Mac:Build:_Help.carbon.mcp.xml', None) (':Mac:Build:_Help.carbon.mcp.xml', None)
@ -269,6 +278,9 @@
(':Mac:Build:ctb.mcp', None) (':Mac:Build:ctb.mcp', None)
(':Mac:Build:ctb.mcp.exp', None) (':Mac:Build:ctb.mcp.exp', None)
(':Mac:Build:ctb.mcp.xml', None) (':Mac:Build:ctb.mcp.xml', None)
(':Mac:Build:datetime.carbon.mcp', None)
(':Mac:Build:datetime.carbon.mcp.exp', None)
(':Mac:Build:datetime.carbon.mcp.xml', None)
(':Mac:Build:gdbm.carbon.mcp', None) (':Mac:Build:gdbm.carbon.mcp', None)
(':Mac:Build:gdbm.carbon.mcp.exp', None) (':Mac:Build:gdbm.carbon.mcp.exp', None)
(':Mac:Build:gdbm.carbon.mcp.xml', None) (':Mac:Build:gdbm.carbon.mcp.xml', None)
@ -436,11 +448,13 @@
(':Modules:Setup.dist', None) (':Modules:Setup.dist', None)
(':Modules:Setup.in', None) (':Modules:Setup.in', None)
(':Modules:Setup.thread.in', None) (':Modules:Setup.thread.in', None)
(':Modules:_bsddb.c', None)
(':Modules:_codecsmodule.c', None) (':Modules:_codecsmodule.c', None)
(':Modules:_curses_panel.c', None) (':Modules:_curses_panel.c', None)
(':Modules:_cursesmodule.c', None) (':Modules:_cursesmodule.c', None)
(':Modules:_hotshot.c', None) (':Modules:_hotshot.c', None)
(':Modules:_localemodule.c', None) (':Modules:_localemodule.c', None)
(':Modules:_randommodule.c', None)
(':Modules:_sre.c', None) (':Modules:_sre.c', None)
(':Modules:_ssl.c', None) (':Modules:_ssl.c', None)
(':Modules:_testcapimodule.c', None) (':Modules:_testcapimodule.c', None)
@ -453,6 +467,7 @@
(':Modules:audioop.c', None) (':Modules:audioop.c', None)
(':Modules:binascii.c', None) (':Modules:binascii.c', None)
(':Modules:bsddbmodule.c', None) (':Modules:bsddbmodule.c', None)
(':Modules:bz2module.c', None)
(':Modules:cPickle.c', None) (':Modules:cPickle.c', None)
(':Modules:cStringIO.c', None) (':Modules:cStringIO.c', None)
(':Modules:ccpython.cc', None) (':Modules:ccpython.cc', None)
@ -466,6 +481,7 @@
(':Modules:cryptmodule.c', None) (':Modules:cryptmodule.c', None)
(':Modules:cstubs', None) (':Modules:cstubs', None)
(':Modules:cursesmodule.c', None) (':Modules:cursesmodule.c', None)
(':Modules:datetimemodule.c', None)
(':Modules:dbmmodule.c', None) (':Modules:dbmmodule.c', None)
(':Modules:dlmodule.c', None) (':Modules:dlmodule.c', None)
(':Modules:errnomodule.c', None) (':Modules:errnomodule.c', None)
@ -500,6 +516,7 @@
(':Modules:mpzmodule.c', None) (':Modules:mpzmodule.c', None)
(':Modules:nismodule.c', None) (':Modules:nismodule.c', None)
(':Modules:operator.c', None) (':Modules:operator.c', None)
(':Modules:ossaudiodev.c', None)
(':Modules:parsermodule.c', None) (':Modules:parsermodule.c', None)
(':Modules:pcre-int.h', None) (':Modules:pcre-int.h', None)
(':Modules:pcre.h', None) (':Modules:pcre.h', None)
@ -553,6 +570,7 @@
(':Modules:xxsubtype.c', None) (':Modules:xxsubtype.c', None)
(':Modules:yuv.h', None) (':Modules:yuv.h', None)
(':Modules:yuvconvert.c', None) (':Modules:yuvconvert.c', None)
(':Modules:zipimport.c', None)
(':Modules:zlibmodule.c', None) (':Modules:zlibmodule.c', None)
(':Modules:zlibmodule.c~0', None) (':Modules:zlibmodule.c~0', None)
(':Modules:zlibmodule.c~1', None) (':Modules:zlibmodule.c~1', None)
@ -611,21 +629,6 @@
(':readmefiles', None) (':readmefiles', None)
(':setup.py', None) (':setup.py', None)
(':site-packages', None) (':site-packages', None)
(':Mac:Build:_Folder.carbon.mcp.xml', None) (':Modules:itertoolsmodule.c', None)
(':Mac:Build:_Folder.carbon.mcp.exp', None) (':Modules:_iconv_codec.c', None)
(':Mac:Build:_Folder.carbon.mcp', None) (':Mac:mwerks:mwerks_pyexpat_config.h', None)
(':Mac:Build:_File.carbon.mcp.xml', None)
(':Mac:Build:_File.carbon.mcp.exp', None)
(':Mac:Build:_File.carbon.mcp', None)
(':Mac:Build:_Alias.carbon.mcp.xml', None)
(':Mac:Build:_Alias.carbon.mcp.exp', None)
(':Mac:Build:_Alias.carbon.mcp', None)
(':Modules:zipimport.c', None)
(':Modules:ossaudiodev.c', None)
(':Modules:datetimemodule.c', None)
(':Modules:bz2module.c', None)
(':Modules:_randommodule.c', None)
(':Modules:_bsddb.c', None)
(':Mac:Build:datetime.carbon.mcp.xml', None)
(':Mac:Build:datetime.carbon.mcp.exp', None)
(':Mac:Build:datetime.carbon.mcp', None)

View File

@ -1 +1 @@
#define BUILD 148 #define BUILD 154

View File

@ -1,4 +1,4 @@
How to install MacPython-OS9 2.3a1 on your Macintosh How to install MacPython-OS9 2.3a2 on your Macintosh
---------------------------------------------------- ----------------------------------------------------
This is a MacPython that can run on Mac OS 8.6 with CarbonLib This is a MacPython that can run on Mac OS 8.6 with CarbonLib
@ -18,7 +18,7 @@ Two changes since 2.2 deserve special mention:
- Most Mac-specific modules have moved to :Lib:plat-mac. :Mac:Lib now contains - Most Mac-specific modules have moved to :Lib:plat-mac. :Mac:Lib now contains
only modules that are not shared with MacPython-OSX 2.3. only modules that are not shared with MacPython-OSX 2.3.
- macfs is now a pure Python wrapper module around various modules in the - macfs is now a pure Python wrapper module around various modules in the
Carbon package. For 2.3a1 only this wrapping is incomplete: fsspec.SetDates() Carbon package. For 2.3a2 only this wrapping is incomplete: fsspec.SetDates()
does not work yet. If you encounter any other problems please report them. does not work yet. If you encounter any other problems please report them.
------ ------
@ -75,10 +75,9 @@ After installing
It is probably a good idea to run the automatic tests. Start It is probably a good idea to run the automatic tests. Start
Python and "import test.regrtest ; test.regrtest.main()". Python and "import test.regrtest ; test.regrtest.main()".
test_httplib fails with an unexpected output error, test_socket and test_logging fail, this problem is being investigated.
this problem is being investigated.
test_socket fails, this problem is being investigated. test_tarfile fails, this problem is being investigated.
Three tests will fail on MacOS9 with MemoryErrors: Three tests will fail on MacOS9 with MemoryErrors:
test_longexp, test_sha and test_zlib (on MacOSX these should pass). test_longexp, test_sha and test_zlib (on MacOSX these should pass).
@ -124,7 +123,7 @@ Uninstalling
Up to three items are installed in the MacOS 8 or 9 system folder: the interpreter Up to three items are installed in the MacOS 8 or 9 system folder: the interpreter
shared library PythonCore lives in the Extensions shared library PythonCore lives in the Extensions
folder and the "Python 2.3a1 Preferences" file in the Python subfolder folder and the "Python 2.3a2 Preferences" file in the Python subfolder
in the Preferences folder. All the rest of Python lives in the folder in the Preferences folder. All the rest of Python lives in the folder
you installed in. you installed in.
@ -168,9 +167,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 whether to upgrade. The bad news is that your old preference settings
are lost and you have to set them again. are lost and you have to set them again.
After you are satisfied that 2.3a1 works as expected you can trash After you are satisfied that 2.3a2 works as expected you can trash
anything in the system folder that has "python" in the name and not anything in the system folder that has "python" in the name and not
"2.3a1". "2.3a2".
The ConfigurePython applet will try to detect incompatible The ConfigurePython applet will try to detect incompatible
preferences files and offer to remove them. This means that re-running preferences files and offer to remove them. This means that re-running

View File

@ -471,7 +471,7 @@ class Editor(W.Window):
except os.error: except os.error:
pass pass
template = buildtools.findtemplate() template = buildtools.findtemplate()
buildtools.process(template, filename, destname, rsrcname=rsrcname, progress=None) buildtools.process(template, filename, destname, 1, rsrcname=rsrcname, progress=None)
try: try:
os.remove(filename) os.remove(filename)
os.rmdir(tmpdir) os.rmdir(tmpdir)

View File

@ -5,7 +5,7 @@ _checkversion.py file"""
import pyversioncheck import pyversioncheck
_PACKAGE="MacPython" _PACKAGE="MacPython"
_VERSION="2.2" _VERSION="2.3a2"
_URL="http://www.cwi.nl/~jack/macpythonversion.txt" _URL="http://www.cwi.nl/~jack/macpythonversion.txt"
try: try:

View File

@ -0,0 +1,9 @@
/*
** Configuration file for dynamically loaded Carbon pyexpat module.
*/
#include "mwerks_shcarbon_config.h"
#define XML_NS 1
#define XML_DTD 1
#define BYTEORDER 4321
#define XML_CONTEXT_BYTES 1024

View File

@ -101,7 +101,7 @@ def genallprojects(force=0):
genpluginproject("carbon", "pyexpat", genpluginproject("carbon", "pyexpat",
sources=["pyexpat.c", "xmlparse.c", "xmlrole.c", "xmltok.c"], sources=["pyexpat.c", "xmlparse.c", "xmlrole.c", "xmltok.c"],
extradirs=[":::Modules:expat"], extradirs=[":::Modules:expat"],
prefixname="mwerks_shcarbon_config.h" prefixname="mwerks_pyexpat_config.h"
) )
genpluginproject("carbon", "zlib", genpluginproject("carbon", "zlib",
libraries=["zlib.ppc.Lib"], libraries=["zlib.ppc.Lib"],