subpar icon indicating copy to clipboard operation
subpar copied to clipboard

Add no_remove flag

Open q3k opened this issue 7 years ago • 2 comments

This change adds a no_remove flag. Its purpose is to let users disable the atexit handler that removes the extracted archive when running a zip_safe=False parfile.

There's at least two scenarios when this is useful:

  • post mortem analysis of malfunctioning a program/par
  • environments when atexit might be spuriously called (eg. uwsgi workers being killed, while others are still running - I imagine this is due to multiprocessing)

Of course, the flag will cause disk space to get used, and the user needs to be aware of that.

q3k avatar Oct 05 '18 18:10 q3k

@duggelz PTAL

q3k avatar Oct 05 '18 18:10 q3k

cc @dkelmer @tmc

q3k avatar Jul 16 '19 11:07 q3k