OpenQuizz
Une application de gestion des contenus pédagogiques
_compat.py File Reference

Data Structures

class  _NonClosingTextIOWrapper
 
class  _FixupStream
 
class  _AtomicFile
 

Namespaces

 click._compat
 

Functions

def get_filesystem_encoding ()
 
def is_ascii_encoding (encoding)
 
def get_best_encoding (stream)
 
def is_bytes (x)
 
def set_binary_mode (f)
 
def isidentifier (x)
 
def get_binary_stdin ()
 
def get_binary_stdout ()
 
def get_binary_stderr ()
 
def get_text_stdin (encoding=None, errors=None)
 
def get_text_stdout (encoding=None, errors=None)
 
def get_text_stderr (encoding=None, errors=None)
 
def filename_to_ui (value)
 
def get_streerror (e, default=None)
 
def open_stream (filename, mode="r", encoding=None, errors="strict", atomic=False)
 
def strip_ansi (value)
 
def should_strip_ansi (stream=None, color=None)
 
def raw_input (prompt="")
 
def auto_wrap_for_ansi (stream, color=None)
 
def term_len (x)
 
def isatty (stream)
 

Variables

int PY2 = 2
 
 CYGWIN = sys.platform.startswith("cygwin")
 
 MSYS2 = sys.platform.startswith("win") and ("GCC" in sys.version)
 
string APP_ENGINE
 
string WIN = sys.platform.startswith("win") and not APP_ENGINE and not MSYS2
 
int DEFAULT_COLUMNS = 80
 
 text_type = unicode
 
 raw_input = raw_input
 
tuple string_types = (str, unicode)
 
tuple int_types = (int, long)
 
 iteritems = lambda x: x.iteritems()
 
 range_type = xrange
 
def isidentifier = lambda x: x.isidentifier()
 
 auto_wrap_for_ansi = None
 
 colorama = None
 
 get_winterm_size = None
 
dictionary binary_streams
 
dictionary text_streams