Issue45273
Created on 2021-09-23 17:31 by eric.snow, last changed 2022-04-11 14:59 by admin.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 29648 | merged | gvanrossum, 2021-11-20 00:28 | |
| Messages (2) | |||
|---|---|---|---|
| msg402514 - (view) | Author: Eric Snow (eric.snow) * ![]() |
Date: 2021-09-23 17:31 | |
The list of frozen modules in Python/frozen.c is generated by Tools/scripts/freeze_modules.py. Currently we freeze both posixpath and ntpath, even though for startup we only need one of the two (depending on the OS). In this case both modules are available on all platforms (and only os.path differs), so we might be okay to leave both frozen. The cost isn't high. However, we may need to accommodate freezing a module only on a subset of supported OSes: * if the extra cost (to the size of the executable) is too high * if there's an OS-specific module that is only available on that OS In that case, we'd need to generate the appropriate ifdefs in Python/frozen.c. We can't just exclude the module during generation since frozen.c is committed to the repo. |
|||
| msg402515 - (view) | Author: Eric Snow (eric.snow) * ![]() |
Date: 2021-09-23 17:32 | |
FYI, currently os.path is also frozen and *is* OS-specific. However, that's a separate matter. See bpo-45272. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:50 | admin | set | github: 89436 |
| 2021-11-20 00:28:14 | gvanrossum | set | pull_requests: + pull_request27887 |
| 2021-11-20 00:12:50 | gvanrossum | set | messages: - msg406633 |
| 2021-11-20 00:12:30 | gvanrossum | set | pull_requests: - pull_request27883 |
| 2021-11-20 00:11:55 | gvanrossum | set | messages: + msg406633 |
| 2021-11-19 23:46:10 | gvanrossum | set | keywords:
+ patch nosy: + gvanrossum pull_requests:
+ pull_request27883 |
| 2021-09-23 17:32:16 | eric.snow | set | messages: + msg402515 |
| 2021-09-23 17:31:45 | eric.snow | create | |
