[Python-ideas] Re: Non-blocking concurrent.futures ThreadPoolExecutor

2021-04-10 Thread Brunoais
(I know this has some time but I think it makes sense in context) That is much easier said than done in real life when the whole project is doing by a team and you are stuck with whatever you all do in the group. Even then, I prefer making my own programs with a mix of daemon and non-daemon

[Python-ideas] Re: Allow Path object instances in subprocess.Popen

2019-11-03 Thread brunoais
Sorry about that. For some reason, the line got trimmed and I didn't notice when I sent the response. `Popen((PathLike))` is what I meant as you mention there ___ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to

[Python-ideas] Allow Path object instances in subprocess.Popen

2019-11-02 Thread brunoais
Recurrently, files are referenced when calling subprocesses. Just recently, I wanted to execute a C program to efficiently process an image and, what I had in my program, was a Path. This idea would allow turning this (imports ommitted): `Popen(('/path/to/program', '-o', fspath(outputPath),