[issue7681] Incorrect division in [wave.py] causing crash

Alf P. Steinbach report at bugs.python.org
Tue Jan 12 23:31:17 CET 2010


Alf P. Steinbach <alfps at start.no> added the comment:

No, sorry, the bugs in [wave.py] have nothing to do with a name IN A COMMENT in the trivial code to exercise the bugs.

To reproduce the crash, just run the supplied code with Python 3.1.1 in Windows XP.

The cause of the crash is, as I pointed out, use of Python 2.x "/" division instead of Python 3.x "//" division. The author of [wave.py] had fixed that in some places. But he/she forgot two places.


Cheers & hth.,

- Alf

----------

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


More information about the Python-bugs-list mailing list