[wingide-users] Bug with input/output in Wing IDE-101 4.0.4

Denis Kirienko denis.kirienko at gmail.com
Tue Oct 25 02:59:31 MDT 2011


I found regression in Wing IDE 101 version 4.0.4 with standart input.
Previous version 4.0.3 looks to work fine.

Steps to reproduce.

Run Wing IDE 101 4.0.4 on Windows using python 3.2.2 and open simple program:

a = input()
b = input()
c = a + b

If we run this program and enter:

we expect that a == "123", b = "456", so c must be "123456" and the
program must output "123456".
But really a == "123\n", b == "456\n" and program output "123\n456\n".

This bug is reproducible only in Windows (I tested Windows XP and Windows 7).
Here is screenshot:  http://dl.dropbox.com/u/13007864/wing-bug-nodebug.png

Also there is another (probably, related to this) bug, when we run
this program in the debug mode. Set breakpoint on line 3, run the
program from menu "Debug - Start / Continue" and enter in the "Debug
I/O" tool panel:


We see that a == "123" and b == "123" too, instead of expected b = "456".

Here is screenshot:  http://dl.dropbox.com/u/13007864/wing-bug-debug.png

This bug is reproducible in Windows and Linux.

Denis Kirienko

More information about the wingide-users mailing list