(instance)
| 252 | |
| 253 | if not hasattr(os, 'register_at_fork'): # Windows and friends. |
| 254 | def _register_at_fork_reinit_lock(instance): |
| 255 | pass # no-op when os.register_at_fork does not exist. |
| 256 | else: |
| 257 | # A collection of instances with a _at_fork_reinit method (logging.Handler) |
| 258 | # to be called in the child after forking. The weakref avoids us keeping |
no test coverage detected
searching dependent graphs…