homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ppperry
Recipients ppperry
Date 2014年10月17日.22:25:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1413584741.24.0.854552509589.issue22664@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2014年10月17日 22:25:41ppperrysetrecipients: + ppperry
2014年10月17日 22:25:41ppperrysetmessageid: <1413584741.24.0.854552509589.issue22664@psf.upfronthosting.co.za>
2014年10月17日 22:25:41ppperrylinkissue22664 messages
2014年10月17日 22:25:41ppperrycreate

AltStyle によって変換されたページ (->オリジナル) /