Message 404554 - Python tracker (original) (raw)
On Oct 20, 2021, at 11:31, Brett Cannon <report@bugs.python.org> wrote:
+1 on a proxy (with read-only attrs) for everything but name, file, and path (which can all be different than the spec).
I'm -1 on a proxy as that doesn't simplify the situation. Having (nearly) duplicate attributes is confusing and I have yet to see it benefit anyone.
If we don’t implement a proxy to enforce equivalence, then we shouldn’t say as such in the documentation. And we should be much clearer about what the purpose of the spec is versus the module attributes.