[Python-Dev] Help with SF bug 105470

Tim Peters tim.one@home.com
Tue, 8 May 2001 00:14:22 -0400


An ancient bug just got (re?)discovered on c.l.py, which I entered into SF:

http://sourceforge.net/tracker/?func=detail&aid=422177&group_id=5470&
    atid=105470

This has to do w/ gross loss of precision in manifest Python float constants,
if and only if a module is loaded from .pyc or .pyo format.  Since's it's
fp-related, and fp is tricky x-platform, I'd like some volunteers to test
this before I check it in.

Current CVS Python contains a dormant test case.  There's a patch attached to
the bug report that activates the test case, and tries to repair the problem.
After the patch, the fix works if and only if test_import doesn't fail,
neither after deleting all .pyc/.pyo files first, nor if run a second time
w/o deleting .pyc/.pyo.

Works on Win98SE, but you may have already guessed that <wink>.