| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
When reloading _datetime module, the single-phase version did not invoke the PyInit__datetime function, whereas the current multi-phase version updates the static types through the module init. The outdated static type cache in the interpreter state needs to be invalidated at the end of reloading the multi-phase module.
Sorry, something went wrong.
|
@ericsnowcurrently I backported e6076d1 as well. (I can take back the change: 09ec032) |
Sorry, something went wrong.
|
Thanks. |
Sorry, something went wrong.
|
This backport appears to have broken the iOS buildbot. I’m AFK for the next week; I’ll take a look when I’m back at my desk. |
Sorry, something went wrong.
#121561 should be effective for fixing it. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
When reloading _datetime module, the single-phase version did not invoke the PyInit__datetime function, whereas the current multi-phase version updates the static types through the module init. The outdated static type cache in the interpreter state needs to be invalidated at the end of reloading the multi-phase module.
This PR is a manual backport of a81d434, adding assert statements to the test case.
This also backports e6076d1 (gh-120180) manually.