Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ae3cb6c

Browse files
committed
Got rid of Mac/Relnotes, and started on mac-specific release notes in NEWS.
1 parent 710fa6c commit ae3cb6c

2 files changed

Lines changed: 53 additions & 77 deletions

File tree

Mac/Relnotes

Lines changed: 0 additions & 75 deletions
This file was deleted.

Misc/NEWS

Lines changed: 53 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -952,8 +952,59 @@ Windows
952952
Mac
953953
----
954954

955-
Yet to be written.
956-
955+
- Mac/Relnotes is gone, the release notes are now here.
956+
957+
- The current naming convention for Python on the Macintosh is that MacPython
958+
refers to the unix-based OSX-only version, and MacPython-OS9 refers to the
959+
CFM-based version that runs on both OS9 and OSX.
960+
961+
- All MacPython-OS9 functionality is now available in an OSX unix build,
962+
including the Carbon modules, the IDE, OSA support, etc. A lot of this
963+
will only work correctly in a framework build, though, because you cannot
964+
talk to the window manager unless your application is run from a .app
965+
bundle. There is a command line tool "pythonw" that runs your script
966+
with an interpreter living in such a .app bundle, this interpreter should
967+
be used to run any Python script using the window manager (including
968+
Tkinter or wxPython scripts).
969+
970+
- A new utility PythonLauncher will start a Python interpreter when a .py or
971+
.pyw script is double-clicked in the Finder. By default .py scripts are
972+
run with a normal Python interpreter in a Terminal window and .pyw
973+
files are run with a window-aware pythonw interpreter without a Terminal
974+
window, but all this can be customized.
975+
976+
- MacPython-OS9 is now Carbon-only, so it runs on Mac OS 9 or Mac OS X and
977+
possibly on Mac OS 8.6 with the right CarbonLib installed, but not on earlier
978+
releases.
979+
980+
- Many tools such as BuildApplet.py and gensuitemodule.py now support a command
981+
line interface too.
982+
983+
- All the Carbon classes are now PEP253 compliant, meaning that you can
984+
subclass them from Python. Most of the attributes have gone, you should
985+
now use the accessor function call API, which is also what Apple's
986+
documentation uses. Some attributes such as grafport.visRgn are still
987+
available for convenience.
988+
989+
- New Carbon modules File (implementing the APIs in Files.h and Aliases.h)
990+
and Folder (APIs from Folders.h). The old macfs builtin module is
991+
gone, and replaced by a Python wrapper around the new modules.
992+
993+
- Pathname handling should now be fully consistent: MacPython-OSX always uses
994+
unix pathnames and MacPython-OS9 always uses colon-separated Mac pathnames
995+
(also when running on Mac OS X).
996+
997+
- New Carbon modules Help and AH give access to the Carbon Help Manager.
998+
There are hooks in the IDE to allow accessing the Python documentation
999+
(and Apple's Carbon and Cocoa documentation) through the Help Viewer.
1000+
See Mac/OSX/README for converting the Python documentation to a
1001+
Help Viewer comaptible form and installing it.
1002+
1003+
- OSA support has been redesigned and the generated Python classes now
1004+
mirror the inheritance defined by the underlying OSA classes.
1005+
1006+
- MacPython no longer maps both \r and \n to \n on input for any text file.
1007+
This feature has been replaced by universal newline support (PEP278).
9571008

9581009
What's New in Python 2.2 final?
9591010
===============================

0 commit comments

Comments
 (0)