AWS Lambda Supports Python 3.7
aws.amazon.com
aws.amazon.com
Couldn’t you just pick the go runtime for example and have it execute the framework / language you want with minimal overhead given it will be a call between two processes running on same host, which you can keep running between invocations.
If you follow the "Run any language" approach, you need to bundle the python interpreter and any libraries required.
Python 3.7 is a lot faster (30 - 40%) than Python 3.6 for certain types of functions.
And you can't (easily) just install Python 3.7 from another runtime, because it has a ton of dependencies and takes minutes to compile. So even if it's technically possible, it precludes a lot of use cases.
Had a Lambda that parsed a file attached to an incoming email, and it worked very well. Even with complex packages like lxml, it usually isn't an issue. Seems like it might be tricky with some scientific packages or ML stuff though, but Lambdas aren't great for those workloads anyway, although the 15 minute runtime increase has helped.