[issue46720] Add support of path-like objects to multiprocessing.set_executable for Windows to match Unix-like systems

2022-02-11 Thread Géry
Change by Géry : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46720] Add support of path-like objects to multiprocessing.set_executable for Windows to match Unix-like systems

2022-02-11 Thread Géry
Change by Géry : -- keywords: +patch pull_requests: +29439 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31279 ___ Python tracker ___

[issue46720] Add support of path-like objects to multiprocessing.set_executable for Windows to match Unix-like systems

2022-02-11 Thread Géry
New submission from Géry : Any [path-like object](https://docs.python.org/3/glossary.html) can be passed to `multiprocessing.set_executable`, i.e. objects with `str`, `bytes`, or `os.PathLike` type. For instance these work (tested on MacOS with all start methods: ‘spawn’, ‘fork’, and