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 eric.snow
Recipients barry, brett.cannon, eric.snow
Date 2021-10-05.15:51:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In Python/import.c there are various situations in which an error state related to frozen modules might result and even lead to an exception.  In gh-28633 we consolidated these cases into a new "frozen_status" enum and added "set_frozen_error()" to set a consistent exception based on a status.

There are several deficiencies to address at this point:

* the conditions for the statuses are unclear [1][2]
* the error messages could be more helpful [3]
* maybe use a different error message for FROZEN_BAD_NAME (and perhaps FROZEN_DISABLED), rather than combining with FROZEN_NOT_FOUND 

Date User Action Args
2021-10-05 15:52:00eric.snowsetrecipients: + eric.snow, barry, brett.cannon
2021-10-05 15:52:00eric.snowsetmessageid: <>
2021-10-05 15:51:59eric.snowlinkissue45379 messages
2021-10-05 15:51:59eric.snowcreate