Skip to content

Conversation

@pablogsal
Copy link
Member

@pablogsal pablogsal commented Dec 6, 2025

⚠️ Dear reviewers, to avoid collapsing the GitHub API with a lot of comments, please open PRs against the base branch with any suggestions or fixes if you are sure are not controversial ⚠️


📚 Documentation preview 📚: https://cpython-previews--142351.org.readthedocs.build/

DinoV and others added 30 commits October 2, 2025 13:22
Highlight lazy imports in the new REPL
@AlexWaygood AlexWaygood removed their request for review December 7, 2025 10:47
@picnixz

This comment was marked as resolved.

kmk142789
kmk142789 previously approved these changes Dec 7, 2025
….c` (#33)

* fix UAF in `bltinmodule.c`

* fix UAF in `bytecode.c`

* run `make regen-all`

* various improvements to `ceval.c`

* fix CI
* fix missing `PyLazyImport_CheckExact`

* fix missing lazy-related symbols

* fix missing lazy-related symbols

* `extern` seems enough

* Export _PyImport_LoadLazyImportTstate for JIT
@picnixz

This comment was marked as resolved.

picnixz and others added 2 commits December 8, 2025 01:05
* re-order imports

* simplify static type definition

* fix undefined behaviors

* reject keyword arguments for `lazy_import`
@picnixz

This comment was marked as resolved.

Yhg1s and others added 3 commits December 8, 2025 01:37
(`Py_(Get|Set)LazyImports(Filter|Mode)`) in the limited API (for now).
```
import types
types.LazyImportType({}, "3", 0)
```

```
def f():
    exec("lazy import json")
f()
```
Yhg1s and others added 3 commits December 8, 2025 14:05
…se` (#27)

* Use self.assertIn and self.assertNotIn instead

* reorder imports

* use assertIn/assertNotIn/assertHasAttr

---------

Co-authored-by: Bénédikt Tran <[email protected]>
@brettcannon brettcannon removed their request for review December 8, 2025 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants