[issue21881] python cannot parse tcl value

Andreas Schwab report at bugs.python.org
Sun Jun 29 21:38:46 CEST 2014


New submission from Andreas Schwab:

Lib/test/test_tcl.py fails with:

test test_tcl failed -- Traceback (most recent call last):
  File "/home/abuild/rpmbuild/BUILD/Python-2.7.7/Lib/test/test_tcl.py", line 430
, in test_user_command
    check(float('nan'), 'NaN', eq=nan_eq)
  File "/home/abuild/rpmbuild/BUILD/Python-2.7.7/Lib/test/test_tcl.py", line 397
, in check
    eq(result[0], expected2)
  File "/home/abuild/rpmbuild/BUILD/Python-2.7.7/Lib/test/test_tcl.py", line 405
, in nan_eq
    actual = float(actual)
ValueError: invalid literal for float(): NaN(7ffffffffffff)

----------
components: Tkinter
messages: 221887
nosy: schwab
priority: normal
severity: normal
status: open
title: python cannot parse tcl value
type: behavior
versions: Python 2.7

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


More information about the Python-bugs-list mailing list