Message402516
| Author | eric.snow |
|---|---|
| Recipients | barry, brett.cannon, eric.snow, jaraco, ncoghlan, steve.dower |
| Date | 2021-09-23.17:52:38 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1632419558.76.0.409970109494.issue45272@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
The matter here boils down to the design of _imp.is_frozen() [1]. It only checks to see if the given module name shows up in the list of frozen modules in Python/frozen.c. This broke things when I froze os and posixpath/ntpath. The simplest solution was to include os.path in the list of modules in frozen.c. The better solution would be to have _imp.is_frozen() check the module in sys.modules. [1] see find_frozen() in Python/import.c |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2021-09-23 17:52:38 | eric.snow | set | recipients: + eric.snow, barry, brett.cannon, jaraco, ncoghlan, steve.dower |
| 2021-09-23 17:52:38 | eric.snow | set | messageid: <1632419558.76.0.409970109494.issue45272@roundup.psfhosted.org> |
| 2021-09-23 17:52:38 | eric.snow | link | issue45272 messages |
| 2021-09-23 17:52:38 | eric.snow | create | |