Message366998
When I have more time I hope to investigate specifically what is
different in the assembly code - with/without the __noreturn__ change.
On 19/04/2020 08:20, Batuhan Taskaya wrote:
> Batuhan Taskaya <batuhanosmantaskaya@gmail.com> added the comment:
>
> Moving assertion from _PyObject_GC_TRACK to gen_dealloc (just before the _PyObject_GC_TRACK call) results with success (????)
>
> if (gen->gi_weakreflist != NULL)
> PyObject_ClearWeakRefs(self);
> -
> + _PyObject_ASSERT_FROM(self, !_PyObject_GC_IS_TRACKED(self),
> + "object already tracked by they garbage collector",
> + __FILE__, __LINE__, "_PyObject_GC_TRACK");
> _PyObject_GC_TRACK(self);
>
> if (PyObject_CallFinalizerFromDealloc(self))
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue40244>
> _______________________________________
> |
|
| Date |
User |
Action |
Args |
| 2020-04-22 11:45:09 | Michael.Felt | set | recipients:
+ Michael.Felt, vstinner, David.Edelsohn, pablogsal, BTaskaya |
| 2020-04-22 11:45:08 | Michael.Felt | link | issue40244 messages |
| 2020-04-22 11:45:08 | Michael.Felt | create | |
|