Module Expr Str Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias Assign NameStore NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Lambda arguments args NameParam NameParam defaults NameLoad Assign NameStore Lambda arguments args NameParam NameParam defaults NameLoad TryExcept body Import alias Assign NameStore Num Assign NameStore Num Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad If Call NameLoad NameLoad NameLoad body Return NameLoad Assign NameStore Num Assign NameStore NameLoad While BoolOpAnd UnaryOpNot NameLoad CompareLt NameLoad Num body Assign NameStore Call NameLoad NameLoad NameLoad BinOpBitOr NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Num AugAssignAdd NameStore Num Return NameLoad decorator_list Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Num Num Num Num Num Str If CompareEq NameLoad Num body Return NameLoad TryFinally body Assign NameStore Num Assign NameStore NameLoad While BoolOpAnd UnaryOpNot NameLoad CompareLt NameLoad Num body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad BinOpBitOr NameLoad NameLoad NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad Break orelse Expr Call AttributeLoad NameLoad attr Num AugAssignAdd NameStore Num Return NameLoad finalbody Expr Call NameLoad NameLoad decorator_list handlers ExceptHandler type NameLoad body Pass FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Assign NameStore BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad
N/A N/A 
    werkzeug.posixemulation
    ~~~~~~~~~~~~~~~~~~~~~~~

    Provides a POSIX emulation for some features that are relevant to
    web applications.  The main purpose is to simplify support for
    systems such as Windows NT that are not 100% POSIX compatible.

    Currently this only implements a :func:`rename` function that
    follows POSIX semantics.  Eg: if the target file already exists it
    will be replaced without asking.

    This module was introduced in 0.6.1 and is not a public interface.
    It might become one in later versions of Werkzeug.

    :copyright: (c) 2014 by the Werkzeug Team, see AUTHORS for more details.
    :license: BSD, see LICENSE for more details.
 N/A sys N/A os N/A errno N/A time N/A random _compat to_unicode filesystem get_filesystem_encoding N/A can_rename_open_file False N/A N/A N/A os name nt N/A N/A _rename N/A N/A N/A src dst N/A False N/A _rename_atomic N/A N/A N/A src dst N/A False N/A N/A N/A ctypes N/A _MOVEFILE_REPLACE_EXISTING 1 N/A _MOVEFILE_WRITE_THROUGH 8 N/A _MoveFileEx N/A N/A N/A ctypes windll kernel32 MoveFileExW _rename N/A N/A src dst N/A N/A N/A src N/A to_unicode src N/A get_filesystem_encoding N/A dst N/A to_unicode dst N/A get_filesystem_encoding N/A N/A _rename_atomic src dst N/A N/A True N/A retry 0 N/A rv False N/A N/A N/A rv N/A retry 100 N/A N/A rv N/A _MoveFileEx src dst N/A _MOVEFILE_REPLACE_EXISTING _MOVEFILE_WRITE_THROUGH N/A N/A rv N/A N/A N/A N/A time sleep 0.001 N/A retry 1 N/A rv N/A N/A _CreateTransaction N/A N/A N/A ctypes windll ktmw32 CreateTransaction N/A _CommitTransaction N/A N/A N/A ctypes windll ktmw32 CommitTransaction N/A _MoveFileTransacted N/A N/A N/A ctypes windll kernel32 MoveFileTransactedW N/A _CloseHandle N/A N/A N/A ctypes windll kernel32 CloseHandle N/A can_rename_open_file True _rename_atomic N/A N/A src dst N/A N/A N/A ta N/A _CreateTransaction None 0 0 0 0 1000 Werkzeug rename N/A N/A ta -1 N/A N/A False N/A N/A N/A retry 0 N/A rv False N/A N/A N/A rv N/A retry 100 N/A N/A rv N/A _MoveFileTransacted src dst None None N/A _MOVEFILE_REPLACE_EXISTING _MOVEFILE_WRITE_THROUGH ta N/A rv N/A N/A rv N/A _CommitTransaction ta N/A N/A N/A N/A N/A time sleep 0.001 N/A retry 1 N/A rv N/A N/A N/A _CloseHandle ta N/A N/A N/A N/A Exception N/A N/A rename N/A N/A src dst N/A N/A N/A N/A _rename src dst N/A N/A N/A N/A N/A N/A N/A os rename src dst N/A N/A N/A OSError N/A e N/A N/A N/A N/A e errno N/A errno EEXIST N/A N/A N/A old N/A %s-%08x N/A dst N/A N/A random randint 0 N/A sys maxint N/A N/A N/A os rename dst old N/A N/A N/A os rename src dst N/A N/A N/A N/A N/A os unlink old N/A N/A N/A Exception N/A N/A N/A N/A N/A rename N/A os rename N/A can_rename_open_file True