Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't follow your reasoning. `pyproject.toml` has nothing to do with what happens at runtime. It's about building and packaging the code. It also doesn't say anything related to the modules that will be imported at runtime. It deals in the names of distributions, which are completely independent of `import` statements.


What I mean is that the `lazy` keyword need not be specified in the source Python files. Instead you can mark off a bunch of modules identified by regex as lazy. Perhaps `pyproject.toml` isn't the best place and it should be an independent python file.


The issue is that Python code may validly stand apart from `pyproject.toml` or any other metadata.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: