Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Return NameLoad If BoolOpAnd Call NameLoad NameLoad Call NameLoad NameLoad body Return NameLoad If CompareEq SubscriptLoad NameLoad Slice Num Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Slice Num Call AttributeLoad NameLoad attr Str body Return NameLoad Return NameLoad decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpAnd AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareNotIn NameLoad AttributeLoad NameLoad attr body Return NameLoad orelse Assign NameStore Num While NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad ListLoad attr NameLoad Assign NameStore Call NameLoad For TupleStore TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareNotIn NameLoad NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Dict For TupleStore NameStore TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad ListLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad For TupleStore NameStore NameStore NameLoad body If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr ListComp SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareNotIn NameLoad NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Delete AttributeDel NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad body Return NameLoad Return SubscriptLoad NameLoad Slice Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assert UnaryOpNot Call NameLoad NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad body Return AttributeLoad AttributeLoad NameLoad attr attr orelse Return AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Return NameLoad Return AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq Call AttributeLoad NameLoad attr Str Num body Return Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Return Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num If CompareNotEq Call AttributeLoad NameLoad attr Str Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Return Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str For NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise Call NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Call NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad If NameLoad body If Call NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Delete SubscriptDel AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assert CompareIs AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Lambda arguments args NameParam NameParam defaults UnaryOpUSub Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad Str attr ListComp Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr comprehension NameStore NameLoad Delete SubscriptDel AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad orelse For NameStore NameLoad body Assert CompareEq AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Yield Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body For NameStore NameLoad body Expr Yield Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad Call NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return If Call NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr CompareEq NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpAnd Call NameLoad NameLoad NameLoad CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return SubscriptLoad NameLoad Index TupleLoad CompareNotEq AttributeLoad NameLoad attr Str BoolOpAnd CompareIsNot NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Yield Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Delete AttributeDel NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body If AttributeLoad NameLoad attr body TryExcept body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return orelse If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str If CompareIs NameLoad NameLoad body Return orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return orelse Return handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Return If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str TryExcept body AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad Num handlers ExceptHandler type NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr For TupleStore TupleStore NameStore NameStore NameStore NameLoad body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str TryFinally body Expr Call NameLoad NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Return ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call NameLoad NameLoad Return ExceptHandler body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Raise orelse AugAssignAdd AttributeStore NameLoad attr Num Return Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad Call NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad Call NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad Call NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore NameLoad For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension NameStore Call AttributeLoad AttributeLoad Call NameLoad attr attr Call NameLoad NameLoad NameLoad For NameStore Call AttributeLoad AttributeLoad Call NameLoad attr attr body If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr While BoolOpAnd CompareIsNot NameLoad NameLoad CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A Data collection classes.

This module contains the code used to collect data from the CVS
repository.  It parses *,v files, recording all useful information
except for the actual file contents.

As a *,v file is parsed, the information pertaining to the file is
accumulated in memory, mostly in _RevisionData, _BranchData, and
_TagData objects.  When parsing is complete, a final pass is made over
the data to create some final dependency links, collect statistics,
etc., then the _*Data objects are converted into CVSItem objects
(CVSRevision, CVSBranch, and CVSTag respectively) and the CVSItems are
dumped into databases.

During the data collection, persistent unique ids are allocated to
many types of objects: CVSFile, Symbol, and CVSItems.  CVSItems are a
special case.  CVSItem ids are unique across all CVSItem types, and
the ids are carried over from the corresponding data collection
objects:

    _RevisionData -> CVSRevision

    _BranchData -> CVSBranch

    _TagData -> CVSTag

In a later pass it is possible to convert tags <-> branches.  But even
if this occurs, the new branch or tag uses the same id as the old tag
or branch.

 N/A re cvs2svn_lib config cvs2svn_lib.common DB_OPEN_NEW cvs2svn_lib.common warning_prefix cvs2svn_lib.common error_prefix cvs2svn_lib.common is_trunk_revision cvs2svn_lib.common is_branch_revision_number cvs2svn_lib.log logger cvs2svn_lib.context Ctx cvs2svn_lib.artifact_manager artifact_manager cvs2svn_lib.cvs_path CVSFile cvs2svn_lib.cvs_path CVSDirectory cvs2svn_lib.symbol Symbol cvs2svn_lib.symbol Trunk cvs2svn_lib.cvs_item CVSRevision cvs2svn_lib.cvs_item CVSBranch cvs2svn_lib.cvs_item CVSTag cvs2svn_lib.cvs_item cvs_revision_type_map cvs2svn_lib.cvs_file_items VendorBranchError cvs2svn_lib.cvs_file_items CVSFileItems cvs2svn_lib.key_generator KeyGenerator cvs2svn_lib.cvs_item_database NewCVSItemStore cvs2svn_lib.symbol_statistics SymbolStatisticsCollector cvs2svn_lib.metadata_database MetadataDatabase cvs2svn_lib.metadata_database MetadataLogger cvs2svn_lib.rcsparser Sink cvs2svn_lib.rcsparser parse cvs2svn_lib.rcsparser RCSParseError N/A _valid_revision_re N/A N/A re compile 
    ^
    (?:\d+\.)+          # Digit groups with trailing dots
    \d+                 # And the last digit group.
    $
     N/A re VERBOSE N/A _branch_revision_re N/A N/A re compile 
    ^
    ((?:\d+\.\d+\.)+)   # A nonzero even number of digit groups w/trailing dot
    (?:0\.)?            # CVS sticks an extra 0 here; RCS does not
    (\d+)               # And the last digit group
    $
     N/A re VERBOSE is_same_line_of_development N/A N/A rev1 rev2 N/A N/A N/A Return True if rev1 and rev2 are on the same line of
  development (i.e., both on trunk, or both on the same branch);
  return False otherwise.  Either rev1 or rev2 can be None, in
  which case automatically return False. N/A N/A N/A rev1 None N/A rev2 None N/A N/A False N/A N/A N/A is_trunk_revision rev1 N/A is_trunk_revision rev2 N/A N/A True N/A N/A N/A rev1 N/A 0 N/A N/A rev1 rfind . N/A rev2 N/A 0 N/A N/A rev2 rfind . N/A N/A True N/A False N/A _RevisionData N/A N/A N/A We track the state of each revision so that in set_revision_info,
  we can determine if our op is an add/change/delete.  We can do this
  because in set_revision_info, we'll have all of the _RevisionData
  for a file at our fingertips, and we need to examine the state of
  our prev_rev to determine if we're an add or a change.  Without the
  state of the prev_rev, we are unable to distinguish between an add
  and a change. __init__ N/A N/A self cvs_rev_id rev timestamp author state N/A N/A N/A N/A self cvs_rev_id cvs_rev_id N/A N/A self rev rev N/A N/A self timestamp timestamp N/A N/A self author author N/A N/A self state state N/A N/A self parent_branch_data None N/A N/A self parent None N/A N/A self child None N/A N/A self branches_data N/A N/A N/A self branches_revs_data N/A N/A N/A self tags_data N/A N/A N/A self revision_reader_token None N/A get_first_on_branch_id N/A N/A self N/A N/A N/A N/A N/A self parent_branch_data N/A N/A self parent_branch_data id N/A N/A _SymbolData N/A N/A N/A Collection area for information about a symbol in a single CVSFile.

  SYMBOL is an instance of Symbol, undifferentiated as a Branch or a
  Tag regardless of whether self is a _BranchData or a _TagData. __init__ N/A N/A self id symbol N/A N/A N/A Initialize an object for SYMBOL. N/A N/A self id id N/A N/A self symbol symbol N/A N/A _BranchData N/A _SymbolData N/A N/A Collection area for information about a Branch in a single CVSFile. __init__ N/A N/A self id symbol branch_number N/A N/A N/A N/A N/A _SymbolData __init__ self id symbol N/A N/A self branch_number branch_number N/A N/A self parent N/A N/A self branch_number N/A N/A N/A N/A self branch_number rindex . N/A N/A self child None N/A N/A _TagData N/A _SymbolData N/A N/A Collection area for information about a Tag in a single CVSFile. __init__ N/A N/A self id symbol rev N/A N/A N/A N/A N/A _SymbolData __init__ self id symbol N/A N/A self rev rev N/A N/A _SymbolDataCollector N/A object N/A N/A Collect information about symbols in a single CVSFile. __init__ N/A N/A self fdc cvs_file N/A N/A N/A N/A self fdc fdc N/A N/A self cvs_file cvs_file N/A N/A self pdc N/A N/A self fdc pdc N/A N/A self collect_data N/A N/A self fdc collect_data N/A N/A self _symbol_defs N/A N/A N/A self _defined_symbols N/A set N/A N/A self branches_data N/A N/A N/A self tags_data N/A N/A _add_branch N/A N/A self name branch_number N/A N/A N/A Record that BRANCH_NUMBER is the branch number for branch NAME,
    and derive and record the revision from which NAME sprouts.
    BRANCH_NUMBER is an RCS branch number with an odd number of
    components, for example '1.7.2' (never '1.7.0.2').  Return the
    _BranchData instance (which is usually newly-created). N/A branch_data N/A N/A N/A self branches_data get branch_number N/A N/A branch_data None N/A N/A N/A N/A logger warn N/A %s: in '%s':
   branch '%s' already has name '%s',
   cannot also have name '%s', ignoring the latter
 N/A warning_prefix N/A N/A self cvs_file rcs_path branch_number N/A N/A branch_data symbol name name N/A branch_data N/A symbol N/A N/A N/A self pdc get_symbol name N/A branch_data N/A _BranchData N/A N/A N/A N/A self collect_data item_key_generator gen_id symbol branch_number N/A N/A N/A self branches_data N/A branch_number branch_data N/A branch_data N/A _construct_distinct_name N/A N/A self name original_name N/A N/A N/A Construct a distinct symbol name from NAME.

    If NAME is distinct, return it.  If it is already used in this
    file (as determined from its presence in self._defined_symbols),
    construct and return a new name that is not already used. N/A N/A name N/A self _defined_symbols N/A N/A name N/A N/A index 1 N/A True N/A N/A dup_name N/A %s-DUPLICATE-%d N/A name index N/A N/A dup_name N/A self _defined_symbols N/A N/A N/A N/A N/A self collect_data record_fatal_error N/A Symbol name '%s' is already used in '%s'.
The unlabeled branch '%s' must be renamed using --symbol-transform. N/A name N/A N/A self cvs_file rcs_path original_name N/A dup_name N/A _add_unlabeled_branch N/A N/A self branch_number N/A N/A N/A original_name N/A unlabeled- branch_number N/A name N/A N/A self transform_symbol original_name branch_number N/A N/A name None N/A N/A N/A N/A N/A self collect_data record_fatal_error N/A The unlabeled branch '%s' in '%s' contains commits.
It may not be ignored via a symbol transform.  (Use --exclude instead.) N/A original_name N/A N/A self cvs_file rcs_path N/A name original_name N/A distinct_name N/A N/A self _construct_distinct_name name original_name N/A N/A N/A N/A self _defined_symbols add distinct_name N/A N/A N/A self _add_branch distinct_name branch_number N/A _add_tag N/A N/A self name revision N/A N/A N/A Record that tag NAME refers to the specified REVISION. N/A symbol N/A N/A N/A self pdc get_symbol name N/A tag_data N/A _TagData N/A N/A N/A N/A self collect_data item_key_generator gen_id symbol revision N/A N/A N/A N/A N/A N/A self tags_data setdefault revision N/A append tag_data N/A tag_data N/A transform_symbol N/A N/A self name revision N/A N/A N/A Transform a symbol according to the project's symbol transforms.

    Transform the symbol with the original name NAME and canonicalized
    revision number REVISION.  Return the new symbol name or None if
    the symbol should be ignored entirely.

    Log the results of the symbol transform if necessary. N/A old_name name N/A name N/A N/A N/A N/A self cvs_file project transform_symbol N/A self cvs_file name revision N/A N/A name None N/A N/A N/A N/A N/A self pdc log_symbol_transform old_name None N/A N/A N/A logger verbose N/A    symbol '%s'=%s ignored in %s N/A old_name revision N/A N/A self cvs_file rcs_path N/A N/A N/A name old_name N/A N/A N/A N/A N/A self pdc log_symbol_transform old_name name N/A N/A N/A logger verbose N/A    symbol '%s'=%s transformed to '%s' in %s N/A old_name revision name N/A N/A self cvs_file rcs_path N/A name N/A define_symbol N/A N/A self name revision N/A N/A N/A Record a symbol definition for later processing. N/A revision N/A N/A _branch_revision_re sub \1\2 revision N/A name N/A N/A self transform_symbol name revision N/A N/A name None N/A N/A N/A N/A _valid_revision_re match revision N/A N/A N/A N/A N/A self _symbol_defs append N/A name revision N/A N/A N/A N/A logger warn N/A In %r:
    branch %r references invalid revision %s
    and will be ignored. N/A N/A N/A self cvs_file rcs_path name revision N/A _eliminate_trivial_duplicate_defs N/A N/A self symbol_defs N/A N/A N/A Iterate through SYMBOL_DEFS, Removing identical duplicate definitions.

    Duplicate definitions of symbol names have been seen in the wild,
    and they can also happen when --symbol-transform is used.  If a
    symbol is defined to the same revision number repeatedly, then
    ignore all but the last definition. N/A symbol_defs N/A list symbol_defs N/A known_definitions N/A N/A N/A i symbol_def N/A enumerate symbol_defs N/A N/A N/A N/A N/A N/A known_definitions setdefault symbol_def N/A append i N/A dup_indexes N/A set N/A N/A N/A name revision indexes N/A N/A known_definitions iteritems N/A N/A N/A N/A len indexes 1 N/A N/A N/A N/A logger verbose N/A in %r:
   symbol %s:%s defined multiple times; ignoring duplicates
 N/A N/A N/A self cvs_file rcs_path name revision N/A N/A N/A dup_indexes update N/A indexes N/A -1 N/A N/A i symbol_def N/A enumerate symbol_defs N/A N/A N/A i dup_indexes N/A N/A N/A symbol_def N/A _process_duplicate_defs N/A N/A self symbol_defs N/A N/A N/A Iterate through SYMBOL_DEFS, processing duplicate names.

    Duplicate definitions of symbol names have been seen in the wild,
    and they can also happen when --symbol-transform is used.  If a
    symbol is defined multiple times, then it is a fatal error.  This
    method should be called after _eliminate_trivial_duplicate_defs(). N/A symbol_defs N/A list symbol_defs N/A known_symbols N/A N/A N/A i N/A name revision N/A enumerate symbol_defs N/A N/A N/A N/A N/A N/A known_symbols setdefault name N/A append i N/A known_symbols N/A N/A known_symbols items N/A N/A N/A known_symbols sort N/A dup_indexes N/A set N/A N/A name indexes known_symbols N/A N/A N/A N/A len indexes 1 N/A N/A N/A N/A N/A self collect_data record_fatal_error N/A Multiple definitions of the symbol '%s' in '%s': %s N/A name N/A N/A self cvs_file rcs_path N/A N/A join N/A N/A N/A symbol_defs N/A i N/A 1 N/A i indexes N/A N/A N/A dup_indexes update N/A indexes N/A -1 N/A N/A i symbol_def N/A enumerate symbol_defs N/A N/A N/A i dup_indexes N/A N/A N/A symbol_def N/A _process_symbol N/A N/A self name revision N/A N/A N/A Process a symbol called NAME, which is associated with REVISON.

    REVISION is a canonical revision number with zeros removed, for
    example: '1.7', '1.7.2', or '1.1.1' or '1.1.1.1'.  NAME is a
    transformed branch or tag name. N/A N/A is_branch_revision_number revision N/A N/A N/A N/A self _add_branch name revision N/A N/A N/A N/A self _add_tag name revision N/A process_symbols N/A N/A self N/A N/A N/A Process the symbol definitions from SELF._symbol_defs. N/A symbol_defs N/A self _symbol_defs N/A N/A self _symbol_defs N/A symbol_defs N/A N/A self _eliminate_trivial_duplicate_defs symbol_defs N/A symbol_defs N/A N/A self _process_duplicate_defs symbol_defs N/A N/A name revision symbol_defs N/A N/A N/A N/A N/A self _defined_symbols add name N/A N/A N/A self _process_symbol name revision N/A rev_to_branch_number N/A N/A revision N/A N/A N/A Return the branch_number of the branch on which REVISION lies.

    REVISION is a branch revision number with an even number of
    components; for example '1.7.2.1' (never '1.7.2' nor '1.7.0.2').
    The return value is the branch number (for example, '1.7.2').
    Return none iff REVISION is a trunk revision such as '1.2'. N/A N/A is_trunk_revision revision N/A N/A None N/A N/A revision N/A N/A N/A revision rindex . N/A staticmethod rev_to_branch_data N/A N/A self revision N/A N/A N/A Return the branch_data of the branch on which REVISION lies.

    REVISION must be a branch revision number with an even number of
    components; for example '1.7.2.1' (never '1.7.2' nor '1.7.0.2').
    Raise KeyError iff REVISION is unknown. N/A N/A N/A is_trunk_revision revision N/A N/A N/A self branches_data N/A N/A N/A self rev_to_branch_number revision N/A rev_to_lod N/A N/A self revision N/A N/A N/A Return the line of development on which REVISION lies.

    REVISION must be a revision number with an even number of
    components.  Raise KeyError iff REVISION is unknown. N/A N/A is_trunk_revision revision N/A N/A N/A N/A self pdc trunk N/A N/A N/A N/A N/A self rev_to_branch_data revision symbol N/A N/A _FileDataCollector N/A Sink N/A N/A Class responsible for collecting RCS data for a particular file.

  Any collected data that need to be remembered are stored into the
  referenced CollectData instance. __init__ N/A N/A self pdc cvs_file N/A N/A N/A Create an object that is prepared to receive data for CVS_FILE.
    CVS_FILE is a CVSFile instance.  COLLECT_DATA is used to store the
    information collected about the file. N/A N/A self pdc pdc N/A N/A self cvs_file cvs_file N/A N/A self collect_data N/A N/A self pdc collect_data N/A N/A self project N/A N/A self cvs_file project N/A N/A self sdc N/A _SymbolDataCollector self N/A self cvs_file N/A N/A self _rev_data N/A N/A N/A self _primary_dependencies N/A N/A N/A self default_branch None N/A N/A self _file_imported False N/A _get_rev_id N/A N/A self revision N/A N/A N/A N/A revision None N/A N/A None N/A N/A N/A N/A self _rev_data N/A revision cvs_rev_id N/A set_principal_branch N/A N/A self branch N/A N/A N/A This is a callback method declared in Sink. N/A N/A N/A N/A branch find . -1 N/A N/A N/A m N/A N/A _branch_revision_re match branch N/A N/A m N/A N/A N/A N/A N/A self collect_data record_fatal_error N/A The default branch %s in file %r is not a valid branch number N/A branch N/A N/A self cvs_file rcs_path N/A N/A branch N/A N/A N/A m group 1 N/A N/A m group 2 N/A N/A N/A N/A branch count . 2 N/A N/A N/A N/A N/A self collect_data record_fatal_error N/A The default branch %s in file %r is not a top-level branch N/A branch N/A N/A self cvs_file rcs_path N/A N/A N/A self default_branch branch N/A define_tag N/A N/A self name revision N/A N/A N/A Remember the symbol name and revision, but don't process them yet.

    This is a callback method declared in Sink. N/A N/A N/A N/A self sdc define_symbol name revision N/A set_expansion N/A N/A self mode N/A N/A N/A This is a callback method declared in Sink. N/A N/A N/A self cvs_file mode mode N/A admin_completed N/A N/A self N/A N/A N/A This is a callback method declared in Sink. N/A N/A N/A N/A self sdc process_symbols N/A define_revision N/A N/A self revision timestamp author state branches next N/A N/A N/A This is a callback method declared in Sink. N/A branch branches N/A N/A N/A N/A branch_data N/A N/A N/A self sdc rev_to_branch_data branch N/A N/A N/A KeyError N/A N/A branch_data N/A N/A N/A self sdc _add_unlabeled_branch N/A N/A N/A self sdc rev_to_branch_number branch N/A N/A N/A branch_data child None N/A N/A branch_data child branch N/A N/A revision N/A self _rev_data N/A N/A N/A N/A logger error N/A File %r contains duplicate definitions of revision %s. N/A N/A N/A self cvs_file rcs_path revision N/A N/A RuntimeError N/A rev_data N/A _RevisionData N/A N/A N/A N/A self collect_data item_key_generator gen_id revision N/A int timestamp author state N/A N/A N/A self _rev_data N/A revision rev_data N/A next N/A N/A N/A is_trunk_revision revision N/A N/A N/A N/A N/A self _primary_dependencies append N/A next revision N/A N/A N/A N/A N/A self _primary_dependencies append N/A revision next N/A tree_completed N/A N/A self N/A N/A N/A The revision tree has been parsed.

    Analyze it for consistency and connect some loose ends.

    This is a callback method declared in Sink. N/A N/A N/A self _resolve_primary_dependencies N/A N/A N/A self _resolve_branch_dependencies N/A N/A N/A self _sort_branches N/A N/A N/A self _resolve_tag_dependencies N/A cvs_items N/A N/A N/A N/A cvs_items extend N/A N/A self _get_cvs_revisions N/A N/A N/A cvs_items extend N/A N/A self _get_cvs_branches N/A N/A N/A cvs_items extend N/A N/A self _get_cvs_tags N/A N/A self _cvs_file_items N/A CVSFileItems N/A self cvs_file N/A N/A self pdc trunk cvs_items N/A N/A N/A N/A self _cvs_file_items check_link_consistency N/A _resolve_primary_dependencies N/A N/A self N/A N/A N/A Resolve the dependencies listed in self._primary_dependencies. N/A N/A parent child N/A self _primary_dependencies N/A N/A parent_data N/A N/A self _rev_data N/A parent N/A N/A N/A parent_data child None N/A N/A parent_data child child N/A child_data N/A N/A self _rev_data N/A child N/A N/A N/A child_data parent None N/A N/A child_data parent parent N/A _resolve_branch_dependencies N/A N/A self N/A N/A N/A Resolve dependencies involving branches. N/A branch_data N/A N/A N/A N/A self sdc branches_data values N/A N/A N/A N/A parent_data N/A N/A self _rev_data N/A N/A branch_data parent N/A N/A N/A KeyError N/A N/A N/A N/A logger warn N/A In %r:
    branch %r references non-existing revision %s
    and will be ignored. N/A N/A N/A self cvs_file rcs_path N/A N/A branch_data symbol name N/A branch_data parent N/A N/A N/A N/A self sdc branches_data N/A N/A branch_data branch_number N/A N/A N/A N/A N/A parent_data branches_data append branch_data N/A N/A N/A branch_data child None N/A N/A child_data N/A N/A self _rev_data N/A N/A branch_data child N/A N/A N/A child_data parent_branch_data None N/A N/A child_data parent_branch_data branch_data N/A N/A N/A child_data parent None N/A N/A child_data parent N/A branch_data parent N/A N/A N/A N/A parent_data branches_revs_data append N/A branch_data child N/A _sort_branches N/A N/A self N/A N/A N/A Sort the branches sprouting from each revision in creation order.

    Creation order is taken to be the reverse of the order that they
    are listed in the symbols part of the RCS file.  (If a branch is
    created then deleted, a later branch can be assigned the recycled
    branch number; therefore branch numbers are not an indication of
    creation order.) N/A rev_data N/A N/A N/A self _rev_data values N/A N/A N/A N/A N/A rev_data branches_data sort N/A N/A N/A a b N/A N/A N/A cmp N/A a id N/A b id N/A _resolve_tag_dependencies N/A N/A self N/A N/A N/A Resolve dependencies involving tags. N/A N/A rev tag_data_list N/A N/A N/A N/A self sdc tags_data items N/A N/A N/A N/A parent_data N/A N/A self _rev_data N/A rev N/A N/A N/A KeyError N/A N/A N/A N/A logger warn N/A In %r:
    the following tag(s) reference non-existing revision %s
    and will be ignored:
    %s N/A N/A N/A self cvs_file rcs_path rev N/A N/A ,  join N/A N/A repr N/A N/A tag_data symbol name N/A tag_data tag_data_list N/A N/A N/A N/A self sdc tags_data N/A rev N/A N/A tag_data tag_data_list N/A N/A N/A N/A tag_data rev rev N/A N/A N/A N/A parent_data tags_data append tag_data N/A _get_cvs_branches N/A N/A self N/A N/A N/A Generate the CVSBranches present in this file. N/A branch_data N/A N/A N/A N/A self sdc branches_data values N/A N/A N/A N/A CVSBranch N/A branch_data id N/A self cvs_file N/A branch_data symbol N/A branch_data branch_number N/A N/A N/A self sdc rev_to_lod N/A branch_data parent N/A N/A self _get_rev_id N/A branch_data parent N/A N/A self _get_rev_id N/A branch_data child None N/A _get_cvs_tags N/A N/A self N/A N/A N/A Generate the CVSTags present in this file. N/A tags_data N/A N/A N/A N/A self sdc tags_data values N/A N/A tag_data tags_data N/A N/A N/A N/A CVSTag N/A tag_data id N/A self cvs_file N/A tag_data symbol N/A N/A N/A self sdc rev_to_lod N/A tag_data rev N/A N/A self _get_rev_id N/A tag_data rev None N/A set_description N/A N/A self description N/A N/A N/A This is a callback method declared in Sink. N/A N/A N/A self cvs_file description description N/A N/A N/A N/A self cvs_file determine_file_properties N/A N/A Ctx file_property_setters N/A set_revision_info N/A N/A self revision log text N/A N/A N/A This is a callback method declared in Sink. N/A rev_data N/A N/A self _rev_data N/A revision N/A cvs_rev N/A N/A self _cvs_file_items N/A N/A rev_data cvs_rev_id N/A N/A N/A cvs_rev metadata_id None N/A N/A N/A N/A logger warn N/A %s: in '%s':
   Deltatext block for revision %s appeared twice;
   ignoring the second occurrence.
 N/A warning_prefix N/A N/A self cvs_file rcs_path revision N/A N/A N/A is_trunk_revision revision N/A N/A branch_name None N/A N/A branch_name N/A N/A N/A N/A N/A self sdc rev_to_branch_data revision symbol name N/A N/A cvs_rev metadata_id N/A N/A N/A N/A self collect_data metadata_logger store N/A self project branch_name N/A rev_data author log N/A N/A cvs_rev deltatext_exists N/A bool text N/A N/A revision 1.1 N/A N/A N/A self _file_imported N/A log Initial revision
 N/A parse_completed N/A N/A self N/A N/A N/A Finish the processing of this file.

    This is a callback method declared in Sink. N/A cvs_item N/A N/A N/A self _cvs_file_items values N/A N/A N/A N/A isinstance cvs_item CVSRevision N/A N/A cvs_item metadata_id None N/A N/A N/A N/A N/A self collect_data record_fatal_error N/A %r has no deltatext section for revision %s N/A N/A N/A self cvs_file rcs_path N/A cvs_item rev N/A _determine_operation N/A N/A self rev_data N/A N/A N/A prev_rev_data N/A N/A N/A self _rev_data get N/A rev_data parent N/A N/A cvs_revision_type_map N/A N/A N/A N/A rev_data state dead N/A N/A prev_rev_data None N/A N/A prev_rev_data state dead N/A _get_cvs_revisions N/A N/A self N/A N/A N/A Generate the CVSRevisions present in this file. N/A rev_data N/A N/A N/A self _rev_data itervalues N/A N/A N/A N/A N/A self _get_cvs_revision rev_data N/A _get_cvs_revision N/A N/A self rev_data N/A N/A N/A Create and return a CVSRevision for REV_DATA. N/A branch_ids N/A N/A branch_data id N/A branch_data N/A rev_data branches_data N/A branch_commit_ids N/A N/A N/A self _get_rev_id rev N/A rev N/A rev_data branches_revs_data N/A tag_ids N/A N/A tag_data id N/A tag_data N/A rev_data tags_data N/A revision_type N/A N/A self _determine_operation rev_data N/A N/A revision_type N/A N/A self _get_rev_id N/A rev_data rev N/A self cvs_file N/A rev_data timestamp None N/A N/A self _get_rev_id N/A rev_data parent N/A N/A self _get_rev_id N/A rev_data child N/A rev_data rev True N/A N/A N/A self sdc rev_to_lod N/A rev_data rev N/A N/A rev_data get_first_on_branch_id False None None tag_ids branch_ids branch_commit_ids N/A rev_data revision_reader_token N/A get_cvs_file_items N/A N/A self N/A N/A N/A Finish up and return a CVSFileItems instance for this file.

    This method must only be called once. N/A N/A N/A self _process_ntdbrs N/A N/A self sdc N/A N/A self _cvs_file_items N/A _process_ntdbrs N/A N/A self N/A N/A N/A Fix up any non-trunk default branch revisions (if present).

    If a non-trunk default branch is determined to have existed, yield
    the _RevisionData.ids for all revisions that were once non-trunk
    default revisions, in dependency order.

    There are two cases to handle:

    One case is simple.  The RCS file lists a default branch
    explicitly in its header, such as '1.1.1'.  In this case, we know
    that every revision on the vendor branch is to be treated as head
    of trunk at that point in time.

    But there's also a degenerate case.  The RCS file does not
    currently have a default branch, yet we can deduce that for some
    period in the past it probably *did* have one.  For example, the
    file has vendor revisions 1.1.1.1 -> 1.1.1.96, all of which are
    dated before 1.2, and then it has 1.1.1.97 -> 1.1.1.100 dated
    after 1.2.  In this case, we should record 1.1.1.96 as the last
    vendor revision to have been the head of the default branch.

    If any non-trunk default branch revisions are found:

    - Set their ntdbr members to True.

    - Connect the last one with revision 1.2.

    - Remove revision 1.1 if it is not needed.

     N/A N/A N/A N/A self default_branch N/A N/A N/A N/A vendor_cvs_branch_id N/A N/A N/A N/A self sdc branches_data N/A N/A self default_branch id N/A N/A N/A KeyError N/A N/A N/A N/A logger warn N/A %s: In %s:
    vendor branch %r is not present in file and will be ignored. N/A warning_prefix N/A N/A self cvs_file rcs_path N/A self default_branch N/A N/A self default_branch None N/A N/A vendor_lod_items N/A N/A N/A self _cvs_file_items get_lod_items N/A N/A self _cvs_file_items N/A vendor_cvs_branch_id N/A N/A N/A N/A N/A self _cvs_file_items process_live_ntdb vendor_lod_items N/A N/A N/A N/A N/A self _file_imported N/A N/A vendor_branch_data N/A N/A N/A N/A self sdc branches_data get 1.1.1 N/A N/A vendor_branch_data None N/A N/A N/A N/A vendor_lod_items N/A N/A N/A self _cvs_file_items get_lod_items N/A N/A self _cvs_file_items N/A N/A vendor_branch_data id N/A N/A N/A N/A N/A self _cvs_file_items process_historical_ntdb vendor_lod_items N/A N/A N/A N/A N/A N/A N/A VendorBranchError N/A e N/A N/A N/A N/A N/A self collect_data record_fatal_error N/A str e N/A N/A N/A self _file_imported N/A N/A N/A N/A N/A self _cvs_file_items imported_remove_1_1 vendor_lod_items N/A N/A N/A N/A self _cvs_file_items check_link_consistency N/A N/A _ProjectDataCollector N/A N/A __init__ N/A N/A self collect_data project N/A N/A N/A N/A self collect_data collect_data N/A N/A self project project N/A N/A self num_files 0 N/A N/A self trunk N/A Trunk N/A N/A N/A N/A self collect_data symbol_key_generator gen_id N/A self project N/A N/A N/A self project trunk_id N/A N/A self trunk id N/A N/A N/A N/A self collect_data register_trunk N/A self trunk N/A N/A self symbols N/A N/A N/A self symbol_transform_counts N/A N/A get_symbol N/A N/A self name N/A N/A N/A Return the Symbol object for the symbol named NAME in this project.

    If such a symbol does not yet exist, allocate a new symbol_id,
    create a Symbol instance, store it in self.symbols, and return it. N/A symbol N/A N/A N/A self symbols get name N/A N/A symbol None N/A N/A symbol N/A Symbol N/A N/A N/A N/A self collect_data symbol_key_generator gen_id N/A self project name N/A N/A N/A self symbols N/A name symbol N/A symbol N/A log_symbol_transform N/A N/A self old_name new_name N/A N/A N/A Record that OLD_NAME was transformed to NEW_NAME in one file.

    This information is used to generated a statistical summary of
    symbol transforms. N/A N/A N/A N/A N/A self symbol_transform_counts N/A N/A old_name new_name 1 N/A N/A N/A KeyError N/A N/A N/A N/A self symbol_transform_counts N/A N/A old_name new_name 1 N/A summarize_symbol_transforms N/A N/A self N/A N/A N/A N/A N/A self symbol_transform_counts N/A N/A logger is_on N/A logger NORMAL N/A N/A N/A N/A logger normal Summary of symbol transforms: N/A transforms N/A N/A N/A self symbol_transform_counts items N/A N/A N/A transforms sort N/A N/A N/A old_name new_name count transforms N/A N/A N/A new_name None N/A N/A N/A N/A logger normal N/A     "%s" ignored in %d files N/A old_name count N/A N/A N/A N/A logger normal N/A     "%s" transformed to "%s" in %d files N/A old_name new_name count N/A process_file N/A N/A self cvs_file N/A N/A N/A N/A N/A logger normal N/A cvs_file rcs_path N/A fdc N/A _FileDataCollector self cvs_file N/A N/A N/A f N/A open N/A cvs_file rcs_path rb N/A N/A N/A N/A parse f fdc N/A N/A N/A N/A f close N/A N/A N/A N/A RCSParseError RuntimeError N/A N/A N/A N/A N/A self collect_data record_fatal_error N/A %r is not a valid ,v file N/A N/A cvs_file rcs_path N/A N/A N/A ValueError N/A e N/A N/A N/A N/A N/A self collect_data record_fatal_error N/A %r is not a valid ,v file (%s) N/A N/A cvs_file rcs_path N/A str e N/A N/A N/A N/A N/A N/A logger warn N/A Exception occurred while parsing %s N/A cvs_file rcs_path N/A N/A N/A N/A self num_files 1 N/A N/A N/A fdc get_cvs_file_items N/A N/A CollectData N/A N/A N/A Repository for data collected by parsing the CVS repository files.

  This class manages the databases into which information collected
  from the CVS repository is stored.  The data are stored into this
  class by _FileDataCollector instances, one of which is created for
  each file to be parsed. __init__ N/A N/A self stats_keeper N/A N/A N/A N/A self _cvs_item_store N/A NewCVSItemStore N/A N/A artifact_manager get_temp_file N/A config CVS_ITEMS_STORE N/A N/A self metadata_db N/A MetadataDatabase N/A N/A artifact_manager get_temp_file N/A config METADATA_STORE N/A N/A artifact_manager get_temp_file N/A config METADATA_INDEX_TABLE DB_OPEN_NEW N/A N/A self metadata_logger N/A MetadataLogger N/A self metadata_db N/A N/A self fatal_errors N/A N/A N/A self num_files 0 N/A N/A self symbol_stats N/A SymbolStatisticsCollector N/A N/A self stats_keeper stats_keeper N/A N/A self item_key_generator N/A KeyGenerator N/A N/A self symbol_key_generator N/A KeyGenerator N/A record_fatal_error N/A N/A self err N/A N/A N/A Record that fatal error ERR was found.

    ERR is a string (without trailing newline) describing the error.
    Output the error to stderr immediately, and record a copy to be
    output again in a summary at the end of CollectRevsPass. N/A err N/A %s: %s N/A error_prefix err N/A N/A N/A logger error N/A err N/A N/A N/A N/A self fatal_errors append err N/A add_cvs_directory N/A N/A self cvs_directory N/A N/A N/A Record CVS_DIRECTORY. N/A N/A N/A N/A N/A Ctx _cvs_path_db log_path cvs_directory N/A add_cvs_file_items N/A N/A self cvs_file_items N/A N/A N/A Record the information from CVS_FILE_ITEMS.

    Store the CVSFile to _cvs_path_db under its persistent id, store
    the CVSItems, and record the CVSItems to self.stats_keeper. N/A N/A N/A N/A N/A Ctx _cvs_path_db log_path N/A cvs_file_items cvs_file N/A N/A N/A N/A self _cvs_item_store add cvs_file_items N/A N/A N/A N/A self stats_keeper record_cvs_file N/A cvs_file_items cvs_file N/A cvs_item N/A N/A cvs_file_items values N/A N/A N/A N/A N/A self stats_keeper record_cvs_item cvs_item N/A register_trunk N/A N/A self trunk N/A N/A N/A Create a symbol statistics record for the specified trunk LOD. N/A N/A N/A self symbol_stats N/A trunk N/A _process_cvs_file_items N/A N/A self cvs_file_items N/A N/A N/A Process the CVSFileItems from one CVSFile. N/A N/A N/A cvs_file_items remove_unneeded_initial_trunk_delete N/A self metadata_db N/A N/A N/A cvs_file_items remove_initial_branch_deletes N/A self metadata_db N/A N/A N/A Ctx trunk_only N/A N/A N/A N/A cvs_file_items exclude_non_trunk N/A N/A N/A cvs_file_items check_link_consistency N/A N/A N/A self add_cvs_file_items cvs_file_items N/A N/A N/A N/A self symbol_stats register cvs_file_items N/A process_project N/A N/A self project cvs_paths N/A N/A N/A pdc N/A _ProjectDataCollector self project N/A found_rcs_file False N/A cvs_path cvs_paths N/A N/A N/A isinstance cvs_path CVSDirectory N/A N/A N/A N/A self add_cvs_directory cvs_path N/A N/A cvs_file_items N/A N/A pdc process_file cvs_path N/A N/A N/A self _process_cvs_file_items cvs_file_items N/A found_rcs_file True N/A N/A found_rcs_file N/A N/A N/A N/A self record_fatal_error N/A No RCS files found under %r!
Are you absolutely certain you are pointing cvs2svn
at a CVS repository?
 N/A N/A project project_cvs_repos_path N/A N/A N/A pdc summarize_symbol_transforms N/A N/A self num_files N/A pdc num_files N/A N/A N/A logger verbose Processed N/A self num_files files N/A _register_empty_subdirectories N/A N/A self N/A N/A N/A Set the CVSDirectory.empty_subdirectory_id members. N/A directories N/A set N/A path N/A path N/A N/A N/A N/A Ctx _cvs_path_db itervalues N/A isinstance path CVSDirectory N/A path N/A N/A N/A N/A Ctx _cvs_path_db itervalues N/A N/A N/A isinstance path CVSFile N/A N/A directory N/A path parent_directory N/A N/A N/A directory None N/A directory directories N/A N/A N/A N/A directories remove directory N/A directory N/A directory parent_directory N/A directory directories N/A N/A N/A N/A directory parent_directory None N/A N/A N/A N/A N/A N/A directory parent_directory empty_subdirectory_ids append N/A directory id N/A close N/A N/A self N/A N/A N/A Close the data structures associated with this instance.

    Return a list of fatal errors encountered while processing input.
    Each list entry is a string describing one fatal error. N/A N/A N/A N/A self symbol_stats purge_ghost_symbols N/A N/A N/A N/A self symbol_stats close N/A N/A self symbol_stats None N/A N/A self metadata_logger None N/A N/A N/A N/A self metadata_db close N/A N/A self metadata_db None N/A N/A N/A N/A self _cvs_item_store close N/A N/A self _cvs_item_store None N/A N/A N/A self _register_empty_subdirectories N/A retval N/A self fatal_errors N/A N/A self fatal_errors None N/A retval N/A N/A