[issue41133] Insufficient description of cyclic garbage collector for C API

2020-06-29 Thread Daniel Barkalow
Daniel Barkalow added the comment: I think it would be helpful to have something as troubleshooting information on the garbage collector. If you've got a bug in your C module, it's obvious that you shouldn't be doing something egregiously wrong, but it's not obvious what you might have done

[issue41133] Insufficient description of cyclic garbage collector for C API

2020-06-26 Thread Daniel Barkalow
New submission from Daniel Barkalow : Nothing in the documentation gives you enough information to find what you're doing wrong if you have the following bug for an object tracked by the GC: (a) you store a borrowed reference to an object whose lifetime is always longer that the buggy object