Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Classes | Functions | Variables
pip.backwardcompat Namespace Reference

Classes

class  NeverUsedException
 

Functions

def cmp
 
def b
 
def u
 
def console_to_str
 
def get_http_message_param
 
def product
 
def get_path_uid
 

Variables

list __all__ = ['WindowsError']
 
tuple uses_pycache = hasattr(imp, 'cache_from_source')
 
 WindowsError = NeverUsedException
 
 PermissionError = PermissionError
 
 console_encoding = sys.__stdout__.encoding
 
 bytes = bytes
 
tuple string_types = (str,)
 
 raw_input = input
 
 reduce = reduce
 
 cmp = cmp
 
 BytesIO = StringIO
 
tuple user_site = getattr(site, 'USER_SITE', None)
 

Detailed Description

Stuff that differs in different Python versions and platform
distributions.

Function Documentation

def pip.backwardcompat.b (   s)
def pip.backwardcompat.cmp (   a,
  b 
)
def pip.backwardcompat.console_to_str (   s)
def pip.backwardcompat.get_http_message_param (   http_message,
  param,
  default_value 
)
def pip.backwardcompat.get_path_uid (   path)
Return path's uid.

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

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

:raises OSError: When path is a symlink or can't be read.
def pip.backwardcompat.product (   args,
  kwds 
)
def pip.backwardcompat.u (   s)

Variable Documentation

list pip.backwardcompat.__all__ = ['WindowsError']
pip.backwardcompat.bytes = bytes
pip.backwardcompat.BytesIO = StringIO
pip.backwardcompat.cmp = cmp
pip.backwardcompat.console_encoding = sys.__stdout__.encoding
pip.backwardcompat.PermissionError = PermissionError
pip.backwardcompat.raw_input = input
pip.backwardcompat.reduce = reduce
tuple pip.backwardcompat.string_types = (str,)
tuple pip.backwardcompat.user_site = getattr(site, 'USER_SITE', None)
tuple pip.backwardcompat.uses_pycache = hasattr(imp, 'cache_from_source')
pip.backwardcompat.WindowsError = NeverUsedException

Copyright 2014 Google Inc. All rights reserved.