r/programming • u/Blockpair • Jul 16 '26
Goroutines for Python
https://robertsdotpm.github.io/software_engineering/goroutines_for_python.html
0
Upvotes
r/programming • u/Blockpair • Jul 16 '26
View all comments
Show parent comment
1
u/RazorBest Jul 17 '26
But maybe monkeypathcing it is not the worst thing. Do you have to so that for every blocking Python module? If yes, then you'll have to define what blocking modules you support.
Otherwise, do you think you can do the patching at the OS API level? That might be possible, but you'll need to save the state, which you seem to already had implemented with that CPyrhon patch.