[issue3862] test_array fails on FreeBSD7 amd64

Mark Dickinson report at bugs.python.org
Tue Sep 30 15:56:35 CEST 2008


Mark Dickinson <dickinsm at gmail.com> added the comment:

The 2**16 in the error message is wrong.  Maybe the error message should
be something like:

"Attempt to create array of size larger than maxsize failed to raise
MemoryError."

A bit verbose, but more accurate.

There's another error in that patch, too.  The line:

b * maxsize//3 + 1

should be

b * (maxsize//3 + 1)

(I was mistakenly reading the '*' as '*=', as in the first test.)

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3862>
_______________________________________


More information about the Python-bugs-list mailing list