Joannah Nanjekye <nanjekyejoan...@gmail.com> added the comment: I can reproduce the described scenario. I will nosy Pablo and Neil for another eye.
I suggest that if it's not a bug, then maybe the docs should be updated to explain this behavior. The only part that talks about exceptions in the documentation for weakref.ref() reads as: """ Exceptions raised by the callback will be noted on the standard error output, but cannot be propagated; they are handled in exactly the same way as exceptions raised from an object’s __del__() method. """ ---------- nosy: +nanjekyejoannah, nascheme, pablogsal _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45555> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com