[issue13220] print function unable while multiprocessing.Process is being run

2017-07-07 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
resolution:  -> duplicate
stage: test needed -> resolved
status: open -> closed
superseder:  -> idle3 shell os.system swallows shell command output

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13220] print function unable while multiprocessing.Process is being run

2017-07-07 Thread ppperry

ppperry added the comment:

Duplicate of issue11820.

--
nosy: +ppperry

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13220] print function unable while multiprocessing.Process is being run

2017-06-29 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
assignee:  -> terry.reedy
versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13220] print function unable while multiprocessing.Process is being run

2014-10-02 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
versions: +Python 3.5 -Python 3.2, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13220
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13220] print function unable while multiprocessing.Process is being run

2012-10-16 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

*nix has the same difference of behavior between interpreter and IDLE shell.

With issue9290 patch the function f line also printed. And then the script 
hangs.

--
nosy: +serhiy.storchaka
versions: +Python 2.7, Python 3.3, Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13220
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13220] print function unable while multiprocessing.Process is being run

2011-10-25 Thread ben

ben thelen_...@yahoo.com added the comment:

Thanks Terry,

That does solve the problem, so the bug is really with IDLE (I got a previous 
Issue (12967) reported which also was connected to the stdout).

I changed the component to IDLE as the lib. is working as it should do.

--
components: +IDLE -Library (Lib)

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13220
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13220] print function unable while multiprocessing.Process is being run

2011-10-25 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

This may be a 'cannot fix' issue due to the way Windows connects the output and 
input streams of various processes. It would be helpful to know if *nix has the 
same difference of behavior between interpreter and IDLE shell. Otherwise some 
experiments are needed.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13220
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13220] print function unable while multiprocessing.Process is being run

2011-10-21 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

Try running without IDLE (double click, right-click run, Command Prompt window, 
or paste into interpreter window). IDLE runs code in a subprocess with stdout 
directed back to the IDLE process, so it occasionally affects otherwise legal 
and correct Python code.

--
nosy: +terry.reedy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13220
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13220] print function unable while multiprocessing.Process is being run

2011-10-19 Thread ben

New submission from ben thelen_...@yahoo.com:

print function unable while multiprocessing.Process is being run

Not sure if this really is a bug, but the multiprocessing.Process (or Pool) 
does not allow to print during multiprocessing tasks.

I've copied the example from The Python V3.2.2 documentation, library 
reference, multiprocessing (3rd example).

My systems details are: MS windows xp or Windows 7, IDLE, Python 3.2.2 [MSC 
v.1500 32 bit (Intel)] on win32

from multiprocessing import Process
import os

def info(title):
print(title)
print('module name:', __name__)
print('parent process:', os.getppid())
print('process id:', os.getpid())

def f(name):
info('function f')
print('hello', name)

if __name__ == '__main__':
info('main line')
p = Process(target=f, args=('bob',))
p.start()
p.join()


#return

#main line
#module name: __main__
#parent process: 1588
#process id: 3700

#but function f doesn't get printed.

--
components: Library (Lib)
files: mp.py
messages: 145913
nosy: Ben.thelen
priority: normal
severity: normal
status: open
title: print function unable while multiprocessing.Process is being run
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file23463/mp.py

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13220
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13220] print function unable while multiprocessing.Process is being run

2011-10-19 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
nosy: +jnoller
stage:  - test needed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13220
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com