[Pythonmac-SIG] Re: MacPython 2.1.1 release available
Christopher Smith
csmith@blakeschool.org
Sun, 05 Aug 2001 14:07:01 -0500
Contents:
--Report on installation
--question about IDLE in 2.1.1
--note about Profon
====
MacOS 8.5.1 (64 MB memory; virtual memory on).
Downloaded 2.1.1 and tried to run the autotest with the factory memory
setting and got the following response:
Python 2.1.1 (#97, Aug 2 2001, 21:53:31) [CW PPC GUSI2 THREADS]
Type "copyright", "credits" or "license" for more information.
>>> import test.autotest
90 tests OK.
21 tests failed: test_asynchat test_longexp test_re test_sha
test_socket test_sre test_unicode test_unicodedata test_urllib
test_urlparse test_userdict test_userlist test_userstring test_wave
test_weakref test_winreg test_winsound test_xmllib test_xreadline
test_zipfile test_zlib
28 tests skipped: test_al test_bsddb test_cd test_cl test_crypt
test_dbm test_dl test_fcntl test_fork1 test_gc test_gl test_grp
test_imgfile test_largefile test_linuxaudiodev test_locale test_mmap
test_nis test_openpty test_poll test_popen2 test_pty test_pwd
test_signal test_socketserver test_sunaudiodev test_sundry test_timing
In a window titled Python IDE.out the following appeared:
no mem for new parser
And in the output window this appeared:
XXX killed unknown (crashed?) Python window.
There was also an extra Apple; File; Edit; and Help menu at the end of
the normal set of OS menus. "About SIOUX" appeared at the top of the
2nd Apple menu.
After I increased the minimum memory from 4 MB to 8 MB I got the following
response:
103 tests OK.
6 tests failed: test_asynchat test_longexp test_sha test_socket
test_unicodedata test_zlib
30 tests skipped: <sames as before plus...> test_winreg test_winsound
>>>
And then I was then able to reduce the memory back down to 4 MB and
generate
the same thing (i.e. only 6 failures and no extra menus).
====
When I try to run IDLE (not IDE) I get the following error which did not
occur
under version 2.1 (I read in the notes that 1.5.2 is needed to run IDLE
but since
I was able to run it under 2.1 I don't know if I should be able to run it
under
2.1.1 or not).
Traceback (most recent call last):
File "MacintoshHD:Python 2.1.1:Tools:idle:idle.py", line 12, in ?
PyShell.main()
File "MacintoshHD:Python 2.1.1:Tools:idle:PyShell.py", line 759, in main
shell = PyShell(flist)
File "MacintoshHD:Python 2.1.1:Tools:idle:PyShell.py", line 319, in
__init__
OutputWindow.__init__(self, flist, None, None)
File "MacintoshHD:Python 2.1.1:Tools:idle:OutputWindow.py", line 15, in
__init__
apply(EditorWindow.__init__, (self,) + args)
File "MacintoshHD:Python 2.1.1:Tools:idle:EditorWindow.py", line 152, in
__init__
text['font'] = edconf.get('font-name'), edconf.get('font-size')
File "MacintoshHD:Python 2.1.1:Tools:idle:IdleConf.py", line 65, in get
return self.config.get(self.section, options, raw, vars)
File "MacintoshHD:Python 2.1.1:Lib:ConfigParser.py", line 286, in get
raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option `font-name' in section: EditorWindow
====
Finally, ProFont is a great replacement for Monaco. You can read about it
at
http://macinsearch.com/infomac2/font/pro-font-22.html. Has anyone
considered
making this the default font instead of MacPython-Sans?
/c