[issue37294] ProcessPoolExecutor fails with super

2019-06-15 Thread Géry
Géry added the comment: @Andrew Svetlov Well this was just an example for illustrating the issue. In real code I need this to create `ThreadPoolMixin` and `ProcessPoolMixin` classes (similar to the `socketserver.ThreadingMixIn` and `socketserver.ForkingMixIn` classes in the standard library,

[issue37294] ProcessPoolExecutor fails with super

2019-06-15 Thread Andrew Svetlov
Change by Andrew Svetlov : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue37294] ProcessPoolExecutor fails with super

2019-06-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: The use case is weird. I don't think we need to do something with the issue. -- nosy: +gvanrossum ___ Python tracker ___

[issue37294] ProcessPoolExecutor fails with super

2019-06-15 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue37294] ProcessPoolExecutor fails with super

2019-06-15 Thread Géry
Change by Géry : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue37294] ProcessPoolExecutor fails with super

2019-06-15 Thread Géry
New submission from Géry : The following code hangs forever instead of printing "called" 10 times: from concurrent.futures import ProcessPoolExecutor class A: def f(self): print("called") class B(A): def f(self): executor = ProcessPoo