Motivation
This doesn't really seem to be the right abstraction. For one thing, the PyprojectTOMLIOManager.opener property is never accessed.
I intuit that we can manage with exactly one class by using class variables rather than instance variables.
The goal is just to reduce the complexity as much as possible.
This will help with #219.
Summary of desired enhancement
Revisit the design for this lazy IO handling of pyproject.toml files. Suitably simplify, and potentially also abstract away from just pyproject.toml to other files too.
Motivation
This doesn't really seem to be the right abstraction. For one thing, the
PyprojectTOMLIOManager.openerproperty is never accessed.I intuit that we can manage with exactly one class by using class variables rather than instance variables.
The goal is just to reduce the complexity as much as possible.
This will help with #219.
Summary of desired enhancement
Revisit the design for this lazy IO handling of
pyproject.tomlfiles. Suitably simplify, and potentially also abstract away from justpyproject.tomlto other files too.