@@ -22,8 +22,8 @@ Type: buildall<ENTER>
2222
2323Configuration:
2424--------------
25- The files "Makefile", "config.h", "Modules :config.c" and
26- "Modules:Makefile" are normally configured and/or generated
25+ The files "Makefile", "config.h", "Mac :config.c" and
26+ "Modules:Makefile" are normally configured and/or generated
2727automagically under Unix.
2828
2929Macintosh programmers will have to be content with editing
@@ -52,17 +52,18 @@ Additional notes by Guido for Python 1.1:
5252
5353I have tried this with MPW 3.2 and tweaked Richards Makefiles and
5454buildall script slightly to work with Python 1.1. The same configure
55- file now works for THINK C 6.0 and MPW 3.2. It is essential that
56- 'MPW' is defined when compiling with MPW; for both compilers,
55+ file now works for THINK C 6.0 (or 7.0) and MPW 3.2. It is essential
56+ that 'MPW' is defined when compiling with MPW; for both compilers,
5757'HAVE_CONFIG_H' should also be defined. For MPW, the buildall script
5858takes care of this.
5959
6060I moved some files around or renamed them and modified the Makefiles
6161accordingly. All Mac specific files are now in the Mac subdirectory,
6262especially config.c, config.h, macmodule.c, and (new) macmain.c.
6363
64- I wouldn't bother with the Grammar subdirectory or the Parser generator
65- (Pgen) -- the needed Pgen output files are part of the distribution.
64+ I wouldn't bother with the Grammar subdirectory or the Parser
65+ generator (Pgen) -- the needed Pgen output files are part of the
66+ distribution.
6667
6768If the buildall script stops at a compilation error you are usually
6869left in one of the subordinate directories.
@@ -78,29 +79,29 @@ Modules and finally the python rot directory, execute the two command
7879Or you could execute
7980
8081 make
81-
82+
8283have a look at its output and execute selected commands from it.
8384
8485The buildall script executes
8586
8687 Directory {Python}
87-
88- which normally prints the current directory, because {Python}
89- is not defined. If it is set to the python root directory,
90- you could place buildall somewhere in your command search path and
91- execute it from anywhere.
92-
93- If you are mixing THINK C and MPW, you may experience weird errors
94- in correct modules. These disappear when you throw away the
88+
89+ which normally prints the current directory, because {Python} is not
90+ defined. If it is set to the python root directory, you could place
91+ buildall somewhere in your command search path and execute it from
92+ anywhere.
93+
94+ If you are mixing THINK C and MPW, you may experience weird errors in
95+ previously correct modules. These disappear when you throw away the
9596module's .pyc file. The errors usually have to do with string
9697literals containing '\n' or '\r'. The reason is an incompatibility
9798between their handling of '\n' and '\r' -- in MPW C, '\n' actually is
9899ASCII CR while '\r' is ASCII LF, which is the reverse situation from
99100any other ASCII based C implementation. This behaviour is inherited
100- by Python compiled with MPW C. This is normally not a problem,
101- but *binary* files written by one system will be mis-interpreted
102- by the other, and this is what happens to the .pyc files. There is no
103- easy way to fix this in the source. (This is a real shame, since the
104- format of .pyc files was carefully designed to be independent of
105- byte order and integer size -- deviations in the ASCII character codes
106- were never anticipated.)
101+ by Python compiled with MPW C. This is normally not a problem, but
102+ *binary* files written by one system will be mis-interpreted by the
103+ other, and this is what happens to the .pyc files. There is no easy
104+ way to fix this in the source. (This is a real shame, since the
105+ format of .pyc files was carefully designed to be independent of byte
106+ order and integer size -- deviations in the ASCII character codes were
107+ never anticipated.)
0 commit comments