[Pythonmac-SIG] MacPython 2.1a2 available

Jon Moody jbmoody@oakland.edu
Tue, 20 Feb 2001 12:13:04 -0500


System:  MacOS 8.5.1 (CarbonLib 1.0.4)
MacPython:  2.1a2 (200 MB memory partition)


test.autotest results
=====================
96 tests OK.
3 tests failed:  test_gzip test_longexp test_socket

tracebacks
==========
>>> import test.test_gzip
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "mac:python 2.1a2:lib:test:test_gzip.py", line 19, in ?
    f = gzip.GzipFile(filename, 'wb') ; f.write(data1 * 50) ;
    f.close()
  File "mac:python 2.1a2:lib:gzip.py", line 67, in __init__
    self._write_gzip_header()
  File "mac:python 2.1a2:lib:gzip.py", line 90, in _write_gzip_header
    write32u(self.fileobj, long(time.time()))
  File "mac:python 2.1a2:lib:gzip.py", line 22, in write32u
    output.write(struct.pack("<L", value))
OverflowError: can't convert negative value to unsigned long


>>> import test.test_longexp
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "mac:python 2.1a2:lib:test:test_longexp.py", line 3, in ?
    l = eval("[" + "2," * REPS + "]")
MemoryError


>>> import test.test_socket
socket.error
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "mac:python 2.1a2:lib:test:test_socket.py", line 71, in ?
    hname, aliases, ipaddrs = socket.gethostbyaddr(ip)
socket.error: host not found

======================================================================