Eric Wolf <robo-e...@gmx.de> added the comment:
It would be possible to allow the GC to finalize the Random instances through weak references. On the other hand, if many _RandomNameSequence instances were used temporarily, a lot of callbacks would be registered via os.register_at_fork(), could that cause problems? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42160> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com