CPython-Internals
CPython-Internals copied to clipboard
Dive into CPython internals, trying to illustrate every detail of CPython implementation
[finalizer](https://github.com/zpoint/CPython-Internals/blob/master/Interpreter/gc/gc_cn.md#finalizer) 原文中提到 ”在 step1 中, unreachable 中定义了 __del__ 的对象的对应的 __del__ 都会被调用, 并且所有的 unreachable 中的对象都会在当前这轮垃圾回收中存活“ a1 和 a2 最终不可达(final_unreachable),不是应该在本轮垃圾回收中被回收了吗?为什么会移到 old 中?
很多图挂了
是否考虑过弄个群?让大家一起交流,分享资料,这方面的教太少好的更少。
根据你的文档[BasicObject/long](https://github.com/zpoint/CPython-Internals/blob/master/BasicObject/long/long_cn.md),我使用64位版本的Python 3.9.12进行验证。 验证代码如下 ```Python import ctypes data = 0 for index in range(50): data = data * 2 + 1 data_id, hex_list = id(data) + 24, [] for byte_index in...
如题