Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0e03f588
Commit
0e03f588
authored
Aug 30, 2001
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Jack Jansen's explanation of the MacOS X changes
parent
1da6eb09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
7 deletions
+43
-7
Doc/whatsnew/whatsnew22.tex
Doc/whatsnew/whatsnew22.tex
+43
-7
No files found.
Doc/whatsnew/whatsnew22.tex
View file @
0e03f588
...
...
@@ -741,15 +741,51 @@ changes are:
\begin{itemize}
\item
The code for the MacOS port for Python, maintained by Jack
Jansen, is now kept in the main Python CVS tree, and many changes
have been made to support MacOS X.
The most significant change is the ability to build Python as a
framework, enabled by supplying the
\longprogramopt
{
enable-framework
}
option to the configure script when compiling Python. According to
Jack Jansen, ``This installs a self-contained Python installation plus
the OSX framework "glue" into
\file
{
/Library/Frameworks/Python.framework
}
(or another location of
choice). For now there is little immediate added benefit to this
(actually, there is the disadvantage that you have to change your PATH
to be able to find Python), but it is the basis for creating a
full-blown Python application, porting the MacPython IDE, possibly
using Python as a standard OSA scripting language and much more.''
Most of the MacPython toolbox modules, which interface to MacOS APIs
such as windowing, QuickTime, scripting, etc. have been ported to OS
X, but they've been left commented out in setup.py. People who want
to experiment with these modules can uncomment them manually.
% Jack's original comments:
%The main change is the possibility to build Python as a
%framework. This installs a self-contained Python installation plus the
%OSX framework "glue" into /Library/Frameworks/Python.framework (or
%another location of choice). For now there is little immedeate added
%benefit to this (actually, there is the disadvantage that you have to
%change your PATH to be able to find Python), but it is the basis for
%creating a fullblown Python application, porting the MacPython IDE,
%possibly using Python as a standard OSA scripting language and much
%more. You enable this with "configure --enable-framework".
%The other change is that most MacPython toolbox modules, which
%interface to all the MacOS APIs such as windowing, quicktime,
%scripting, etc. have been ported. Again, most of these are not of
%immedeate use, as they need a full application to be really useful, so
%they have been commented out in setup.py. People wanting to experiment
%can uncomment them. Gestalt and Internet Config modules are enabled by
%default.
\item
Keyword arguments passed to builtin functions that don't take them
now cause a
\exception
{
TypeError
}
exception to be raised, with the
message "
\var
{
function
}
takes no keyword arguments".
\item
The code for the Mac OS port for Python, maintained by Jack
Jansen, is now kept in the main Python CVS tree.
% XXX should expand this with all of Jack's recent changes (ask him for
% a summary)
\item
A new script,
\file
{
Tools/scripts/cleanfuture.py
}
by Tim
Peters, automatically removes obsolete
\code
{__
future
__}
statements
from Python source code.
...
...
@@ -822,7 +858,7 @@ changes are:
The author would like to thank the following people for offering
suggestions and corrections to various drafts of this article: Fred
Bremmer, Keith Briggs, Fred L. Drake, Jr., Carel Fellinger, Mark
Hammond,
Marc-Andr
\'
e Lemburg, Tim Peters, Neil Schemenauer, Guido van
Rossum.
Hammond,
Jack Jansen, Marc-Andr
\'
e Lemburg, Tim Peters, Neil
Schemenauer, Guido van
Rossum.
\end{document}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment