def safe_mkdtemp(**kw):
  # proper lock sanitation on fork [issue 6721] would be desirable here.
  return _MKDTEMP_SINGLETON.register(tempfile.mkdtemp(**kw))
Return if *obj* is NULL.
dataset/ETHPy150Open pantsbuild/pex/pex/common.py/safe_mkdtemp--crossover with--dataset/ETHPy150Open numba/numba/numba/objmode.py/PyLower.check_error