Revision history [back]
My best guess is that print has somehow been replaced with something else (I think only possible in Python 3) or if you're not literally saying "B" but something else then it may be running off int __repr__ or __str__ methods that fail to exit. It could also be something going wrong with our I/O processing code, but I can't really see how it would do what you describe. Does restarting the Python Shell from its Options menu clear it so it works right if you type print("A", "B") first thing after restarting it? If not, check whether you have PYTHONSTART defined in the environment, which could be altering something. If reproducible please let us know version of Wing, dist and version of Python, and OS version.