This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brett.cannon
Recipients FFY00, barry, brett.cannon, eric.snow, iritkatriel, ncoghlan, pitrou, pmpp, rhettinger
Date 2021-10-20.18:31:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634754711.34.0.506263533319.issue33277@roundup.psfhosted.org>
In-reply-to
Content
> The spec identifies how a module should be loaded (or how it was loaded and should be reloaded).  We should be careful to preserve that identify and not invite uses to modify the spec after (or while) the module is loaded.

But they may want to modify it to influence reloading. There's a discussion somewhere where I talked about this with Nick and he agreed with me that trying to keep specs like receipts and all of these other attributes as mutable values had not really panned out after all of these years.

> +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.
History
Date User Action Args
2021-10-20 18:31:51brett.cannonsetrecipients: + brett.cannon, barry, rhettinger, ncoghlan, pitrou, pmpp, eric.snow, FFY00, iritkatriel
2021-10-20 18:31:51brett.cannonsetmessageid: <1634754711.34.0.506263533319.issue33277@roundup.psfhosted.org>
2021-10-20 18:31:51brett.cannonlinkissue33277 messages
2021-10-20 18:31:51brett.cannoncreate