[New-bugs-announce] [issue22664] IDLE: Standard output and error from multiprocessing vanishes

ppperry report at bugs.python.org
Sat Oct 18 00:25:41 CEST 2014


New submission from ppperry:

Note: not sure whether this issue belongs as a "behavior" or an "enhancement"

In IDLE:
>>> def print_a_test_string():
     print "test"

>>>print_a_test_string()
test
>>>threading.Thread(target=print_a_test_string).start()
test
>>>multiprocessing.Process(target=print_a_test_string).start()
[test is not said]
>>>
Running this example in the standard interpreter will print "test" all three times (in current thread, new thread, new process). (Acutally, I got an AttributeError and had to work aroung it using functools.partial(print, "test"))

OS: Windows XP

----------
components: IDLE, Library (Lib)
messages: 229611
nosy: ppperry
priority: normal
severity: normal
status: open
title: IDLE: Standard output and error from multiprocessing vanishes
type: behavior
versions: Python 2.7

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


More information about the New-bugs-announce mailing list