pydongery / blog

MIT License
0 stars 0 forks source link

preprocessor followup: strict mode Python #13

Open Tsche opened 2 weeks ago

Tsche commented 2 weeks ago

Enforce type checking at runtime by inserting isinstance assertions into function bodies for all annotated parameters etc. Can be done with AST -> AST transformations.