|
|
|
|
|
by kortex
1493 days ago
|
|
That's more or less what PEP 659 tries to achieve, albeit without the flag. Given that nearly everything in Python is an Object and can be modified/patched at any time, this dynamic adaptation is probably as best as one can get, without something like numba or cython, which "knows" more about specific blocks of code and can compile them down. https://docs.python.org/3.11/whatsnew/3.11.html#pep-659-spec... |
|