We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3daabf commit e19335eCopy full SHA for e19335e
crates/vm/src/frame.rs
@@ -4774,9 +4774,6 @@ impl ExecutingFrame<'_> {
4774
&& let Some(init_func) = cls.get_cached_init_for_specialization(cached_version)
4775
&& let Some(cls_alloc) = cls.slots.alloc.load()
4776
{
4777
- // Match CPython's `code->co_framesize + _Py_InitCleanup.co_framesize`
4778
- // shape, using RustPython's datastack-backed frame size
4779
- // equivalent for the extra shim frame.
4780
let init_cleanup_stack_bytes =
4781
datastack_frame_size_bytes_for_code(&vm.ctx.init_cleanup_code)
4782
.expect("_Py_InitCleanup shim is not a generator/coroutine");
0 commit comments