Logger doesn't support weak reference #94
Labels
cpython-incompatibility
Relates to an incompatibility with stdlib logging
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
CPython Logger supports weak reference, picologging Logger does not.
Supporting weakreference is fairly straightforward:
https://docs.python.org/3.10/extending/newtypes.html#weak-reference-support
I tested that change locally and it works. I haven't been able to ascertain how much of a performance hit it is (if any), however. Let me know what you think and whether you'd like a PR.
The text was updated successfully, but these errors were encountered: