[issue38511] Multiprocessing does not work properly when using the trace module.

2019-10-18 Thread تاشيرات مساند
تاشيرات مساند added the comment: #!/usr/bin/env python import multiprocessing, sys, trace from functools import partial num_list = ['p1', 'p2', 'p3', 'p4'] def foo(name): print(name+'\n') return name def save(result, shared): print('a\n') shared.results[result] = 1 def mm():

[issue38511] Multiprocessing does not work properly when using the trace module.

2019-10-18 Thread تاشيرات مساند
Change by تاشيرات مساند : -- nosy: +تاشيرات مساند ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue38511] Multiprocessing does not work properly when using the trace module.

2019-10-18 Thread تاشيرات مساند
Change by تاشيرات مساند : -- components: +Windows -Library (Lib) nosy: +paul.moore, steve.dower, tim.golden, zach.ware versions: +Python 3.9 -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker _

[issue38511] Multiprocessing does not work properly when using the trace module.

2019-10-17 Thread minjeong kim
New submission from minjeong kim <98...@naver.com>: normal result : $ python test.py {'p1': 1, 'p2': 1, 'p3': 1, 'p4': 1} run with tracing : $ python -mtrace --trackcalls test.py {} It seems that the foo and save functions that multiprocess should call are not called. -- components: