hongweipeng <hongweichen8...@sina.com> added the comment:

Multi-process need uses multiprocessing.Manager to share, the current problem 
should be tee-objcet thread safety issue.As Xiang Zhang said,`PyIter_Next` in 
`teedataobject_getitem` releases GIL.So the thread lock is necessary,and only 
lead iterator uses it when runs `PyIter_Next`.Can anyone help me review it.

----------
nosy: +hongweipeng

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34410>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to