Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:

This might be redundant but I googled 'itertools tee thread safe' and came 
across a detailed SO answer from 2017 that explains the issue along with a 
similar example that causes segfault in the compiler but it was not reported 
here it seems. It also proposes a possible solution to fix the iterator but not 
tee itself. 

SO answer : https://stackoverflow.com/a/44638570/2610955

Similar open issue that could be a duplicate 

https://bugs.python.org/issue24482


Thanks

----------

_______________________________________
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