Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Functions | Variables
pip._internal.utils.compat Namespace Reference

Functions

bool has_tls ()
 
int get_path_uid (str path)
 

Variables

 logger = logging.getLogger(__name__)
 
dict stdlib_pkgs = {"python", "wsgiref", "argparse"}
 
 WINDOWS = sys.platform.startswith("win") or (sys.platform == "cli" and os.name == "nt")
 

Detailed Description

Stuff that differs in different Python versions and platform
distributions.

Function Documentation

◆ get_path_uid()

int pip._internal.utils.compat.get_path_uid ( str  path)
Return path's uid.

Does not follow symlinks:
    https://github.com/pypa/pip/pull/935#discussion_r5307003

Placed this function in compat due to differences on AIX and
Jython, that should eventually go away.

:raises OSError: When path is a symlink or can't be read.