Re: [farm-report] Daily Snake Farm report
Anders Qvist <[email protected]> Wed, 11 Sep 2002 20:14:11 +0200
| Newsgroups | gmane.comp.python.snake-farm.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Sep 11, 2002 at 11:17:27AM -0400, Guido van Rossum wrote: > I asked the timbot, who knows about these things. He suggested line > 546 in test_b1.py: > > try: > # Verify clearing of bug #556025 > # this assumes that the max data size (sys.maxint) == max address size > # this also assumes that the address size is at least 4 bytes > # with 8 byte addresses, the bug is not well tested > # > # Note: This test is expected to SEGV under Cygwin 1.3.12 or earlier > # due to a newlib bug. See the following mailing list thread for the > # details: > # http://sources.redhat.com/ml/newlib/2002/msg00369.html > list(xrange(sys.maxint / 4)) > except MemoryError: > pass > else: > raise TestFailed, 'list(xrange(sys.maxint / 4))' > > This is trying to ascertain that the list allocation code does its > range checking right, and in fact, on a 32 bit system, this should > never even call malloc. Linux asmodean.lysator.liu.se 2.2.19-6.2.10 #1 Tue Oct 9 11:51:06 EDT 2001 alpha unknown Manually run test_builtin on code checked out this morning: [ 19:49 ] - ./python ../python/dist/src/Lib/test/test_builtin.py 4. Built-in functions test_b1 __import__ abs apply callable chr cmp coerce compile complex delattr dir divmod eval execfile filter float getattr hasattr hash hex id int isinstance issubclass len list zsh: killed ./python ../python/dist/src/Lib/test/test_builtin.py ... so yes, it does point in that direction. The kill is manual, so it's not likely that it made it into the long test without managing to output to console. It did baloon in size too: it was ~140 Mbytes when killed. -- Anders "Quest" Qvist "We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Robert Wilensky