Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Jan 17, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

colesbury and others added 4 commits January 17, 2025 16:42
In the free threading build, the per thread reference counting uses a
unique id for some objects to index into the local reference count
table. Use 0 instead of -1 to indicate that the id is not assigned. This
avoids bugs where zero-initialized heap type objects look like they have
a unique id assigned.
Refactor code generators a bit to avoid passing stack property around all over the place
* Add Modules/_testlimitedcapi/import.c
* Add Lib/test/test_capi/test_import.py
* Remove _testcapi.check_pyimport_addmodule(): tests already covered
  by newly added tests.

Co-authored-by: Serhiy Storchaka <[email protected]>
…ator (#128957)

We don't have the correct copy of the bytecode and can't update next_instr
appropriately, so just unwind.
@pull pull bot added the ⤵️ pull label Jan 17, 2025
@pull pull bot merged commit 13c4def into TechPenguineer:main Jan 17, 2025
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.

4 participants