[issue21881] python cannot parse tcl value

2014-07-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: On some platforms NaN representation has a minus before "nan" (see http://buildbot.python.org/all/builders/x86%20OpenIndiana%202.7/builds/2384/steps/test/logs/stdio). So it is easier just omit tests for these platform-specific values. Regardless of the fact

[issue21881] python cannot parse tcl value

2014-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 01ec8bb7187f by Serhiy Storchaka in branch '2.7': Issue #21881: Just omit tests for platform-specific NaN representation in test_tcl. http://hg.python.org/cpython/rev/01ec8bb7187f New changeset 5ac811cbec87 by Serhiy Storchaka in branch '3.4': Issu

[issue21881] python cannot parse tcl value

2014-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4514804d0e50 by Serhiy Storchaka in branch '2.7': Issue #21881: Be more tolerant in test_tcl to not parsable by float() NaN http://hg.python.org/cpython/rev/4514804d0e50 New changeset 4879f6337ef6 by Serhiy Storchaka in branch '3.4': Issue #21881: B

[issue21881] python cannot parse tcl value

2014-07-05 Thread Andreas Schwab
Andreas Schwab added the comment: Thanks, this is working now. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue21881] python cannot parse tcl value

2014-07-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which omits using of float() to convert Tcl's NaN values. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file35864/test_tcl_nan.patch ___ Python tracker

[issue21881] python cannot parse tcl value

2014-07-04 Thread Andreas Schwab
Andreas Schwab added the comment: >>> _tkinter.create().getdouble(float('nan')) nan -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue21881] python cannot parse tcl value

2014-07-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Interesting, what result of getdouble? >>> import _tkinter >>> tk = _tkinter.create() >>> nan = float('nan') >>> tk.getdouble(nan) nan What returns getdouble() (note that _tkinter is imported instead of tkinter!) for NaN value? -- assignee: -> serh

[issue21881] python cannot parse tcl value

2014-06-30 Thread Ned Deily
Changes by Ned Deily : -- nosy: -ned.deily stage: -> needs patch versions: +Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python

[issue21881] python cannot parse tcl value

2014-06-30 Thread Andreas Schwab
Andreas Schwab added the comment: You will see this on any architecture where the canonical NaN has all bits set (or a subset of them). This include mips and m68k. -- ___ Python tracker __

[issue21881] python cannot parse tcl value

2014-06-30 Thread Ned Deily
Ned Deily added the comment: What version of Tcl are you using and on what platform? -- nosy: +ned.deily, serhiy.storchaka ___ Python tracker ___

[issue21881] python cannot parse tcl value

2014-06-29 Thread Andreas Schwab
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/r