[issue40255] Fixing Copy on Writes from reference counting

Inada Naoki report at bugs.python.org
Fri Oct 30 01:07:37 EDT 2020


Inada Naoki <songofacandy at gmail.com> added the comment:

>> Fast shutdown option
>
> You can use os._exit(0).

Yes. Instagram use it as `atexit.register(os._exit, 0)`.

https://instagram-engineering.com/dismissing-python-garbage-collection-at-instagram-4dca40b29172

I think this hack can be supported in multiprocessing module in some way.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40255>
_______________________________________


More information about the Python-bugs-list mailing list