[issue33884] [multiprocessing] Multiprocessing in spawn mode doesn't work when the target is a method in a unittest.TestCase subclass, when run either with unittest or with pytest

2018-06-17 Thread Yoni Rozenshein
New submission from Yoni Rozenshein : multiprocessing will attempt to pickle things using ForkingPickler when starting a new process in spawn mode (in Windows this is the only mode, in Linux this is a non-default but settable mode). When run within the context of a unit test, if it has

[issue33780] [subprocess] Better Unicode support for shell=True on Windows

2018-06-17 Thread Yoni Rozenshein
Yoni Rozenshein added the comment: After reading your messages and especially after reading https://bugs.python.org/issue27179#msg267091 I admit I have been convinced this is much more complicated than I thought, and maybe more of a Windows bug than a Python bug

[issue33780] [subprocess] Better Unicode support for shell=True on Windows

2018-06-06 Thread Yoni Rozenshein
New submission from Yoni Rozenshein : In subprocess, the implementation of shell=True on Windows is to launch a subprocess with using {comspec} /c "{args}" (normally comspec=cmd.exe). By default, the output of cmd is encoded with the "active" codepage. In Python