[issue41757] weakmethod's ref is deleted before weakref's garbage-collect callback is executed

2020-09-14 Thread Giordon Stark
Giordon Stark added the comment: Hi Pablo, Thanks for looking at this. Indeed, this seems to be fixed for me on python 3.8 (I'm using docker image python:3.8-slim) and I'm unable to force the issue to come up. I will go ahead and close this and link the corresponding PR (https

[issue41757] weakmethod's ref is deleted before weakref's garbage-collect callback is executed

2020-09-10 Thread Giordon Stark
Giordon Stark added the comment: This PR seems highly related: https://github.com/python/cpython/pull/18189. Not sure if it should be linked to this issue or not. -- ___ Python tracker <https://bugs.python.org/issue41

[issue41757] weakmethod's ref is deleted before weakref's garbage-collect callback is executed

2020-09-10 Thread Giordon Stark
New submission from Giordon Stark : Hi, this is my first issue, so I hope to try my best to explain the problem. Unfortunately, I cannot get an easy minimum-reproducible-example of this because I can only seem to invoke this behavior using pytest (6.0.1) on two tests of our code. First, let