[Python-bugs-list] [Bug #115643] test_longexp Fails on OpenBSD

noreply@sourceforge.net noreply@sourceforge.net
Fri, 29 Sep 2000 07:48:13 -0700


Bug #115643, was updated on 2000-Sep-29 01:21
Here is a current snapshot of the bug.

Project: Python
Category: Build
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 5
Summary: test_longexp Fails on OpenBSD

Details: The test "test_longexp" fails on OpenBSD 2.5 shortly after 60,000 (sometime between 60,000 and 60,500) repetitions:

Traceback (most recent call last):
  File "test_longexp.py", line 4, in ?
    l = eval("[" + "2," * REPS + "]") 
MemoryError

On OpenBSD 2.7, it did not fail (and seemed to take the right amount of time), but returned the value "44".

The OpenBSD 2.5 system is using the most current CVS version.  The OpenBSD 2.7 system is using 2.0b2.

Follow-Ups:

Date: 2000-Sep-29 07:48
By: jhylton

Comment:
Is it possible that there isn't much memory available on the 2.5 system?  When the test runs successfully on my Linux box, the Python process uses 32MB.

Are you sure that the 2.7 version returns 44?  It should return 65580 (the value of REPS).  Can you run it as "python -i test_longexp.py" and then print l.  Is it really only 44 elements long?

Are all the other tests succeeding?

-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=115643&group_id=5470