parameters: (self)
return_statement: return os.path.join(self.install_dir, "test-easy-install-%s" % pid)
docstring: Return a pseudo-tempname base in the install directory.
          This code is intentionally naive; if a malicious party can write to
          the target directory you're already in deep doodoo.
docstring_summary: Return a pseudo-tempname base in the install directory.
          This code is intentionally naive; if a malicious party can write to
          the target directory you're already in deep doodoo.
docstring_tokens: Return a pseudo - tempname base in the install directory . This code is intentionally naive ; if a malicious party can write to the target directory you re already in deep doodoo .
function: def pseudo_tempname(self):
          """Return a pseudo-tempname base in the install directory.
          This code is intentionally naive; if a malicious party can write to
          the target directory you're already in deep doodoo.
          """
          try:
              pid = os.getpid()
          except Exception:
              pid = random.randint(0, sys.maxsize)
          return os.path.join(self.install_dir, "test-easy-install-%s" % pid)
function_tokens: def pseudo_tempname ( self ) : try : pid = os . getpid ( ) except Exception : pid = random . randint ( 0 , sys . maxsize ) return os . path . join ( self . install_dir , "test-easy-install-%s" % pid )