868 karma · joined April 13, 2022
Ad blockers having paying partnerships can be a problem, but something like Ublock Origin does not.
asyncio with an executor is a good way to run complex tasks in parallel.
I don't think the maintainers have gotten a request to do that. Personally I use a more complicated launcher because I need to set things like environment variables in my deployments, but a venv is almost an out-of-the-box relocatable Python environment. It's when you need to protect/compile your code that things get messy.
>> Since venvs on Linux symlink to the system’s Python executable
>Hopefully, the executable with which they were created, not the system executable except where they happen to be the same.
When you call /usr/bin/pythonx.y -m venv ./myenv, ./myenv/bin/python will link to /usr/bin/pythonx.y. Since there aren't many reasons to use a Python version not installed by the package manager, I call these the "system's Python executables", but sure, it can also point to /opt if you installed Python there.
Since venvs on Linux symlink to the system’s Python executable, they should also work after moving.
From the user POV, the best bindings I’ve seen were wrappers with a Python API that calls C++ using Cython.
In this case, we often have conflicts in private modules. (And everything is private since we don’t provide any libraries to anyone.)