analysers.pipeline.py
symbol.MultiDefSymbol
and relevant analyser -RedefinitionAnalyser
AnalysisContext.unpack()
inherit_dicts.py
withInheritDicts
- Support of python 3.10 (at least partially)
- The first version of the documentation!
report
parameter to the deref()- Basic reporting system
SingleType
:is_type()
andissubclass()
Scope.enclosing
🔼 Patched by@groesie
in #27- A new preferred way to collect names is
analysers.tools.collect_names()
types.symbol_table_types.SymbolTableType.reset()
types.symbol_table_types.Arg.iter()
- Inheritance and MRO support for types
- Finally
global
andnonlocal
are now analyzed inScopeAnalyser
instead ofTranslator
NodeVisitor.start
now don't take the second argument- Move
symbol_table
fromScope
and to be a separate structure in theAnalysisContext
- Move
return_type
fromFunction
toFunctionType
- Moved
analysis.symbols.py
tosymbol.py
- Renamed
SymbolData
toSymbol
andSymTabType
toSymbolTableType
analysis.X_types.py
are all moved intypes\
normalize_ast.py
andportable_ast.py
are moved intoast
submodule- Filename is now optional for
parse_string
andparse_ast
CompareType
->CompareOpType
- Implement accurate
BinOpType
,CompareOpType
andSubscriptType
deref()
analysers.redefinitions.RedefinitionAnalyser
->analysers.definitions.DefinitionAnalyser
- Move parts of
analysers.scope.ScopeAnalyser
intoanalysers.definitions.SymTabAnalyser
- Update
analysers.pipeline.default_pipe
- Move
UnionType.make()
functionality toUnionType.deref()
- Use
pyproject.toml
instead ofsetup.py
🔼 Patched by@9gl
in #15 and@0dminnimda
in #30 - Move
mypy.ini
intopyproject.toml
PynalyserType.deref()
returnsSingleType
SingleType
is renamed toDataType
is_type()
andissubclass()
are moved totypes.inheritance
issubclass()
renamed tois_subclass()
- "Graph Visit Casher"
ScopeReference
ScopeDefs
fromacr.classes
symbols.SymbolTable
main.analyse_context
andmain.analyse
- Support of python 3.6
analysers.scope.SymTabAnalyser
types.operations
ACRCodeTransformer
now works properly- Minor bugs
- ACR (Abstract Code Representation) and tools for using it
- Extendable system for analysis
- Analysis of the scopes
- Partial type inference (and type system for it to work on)
- "Graph Visit Casher"
test_normalize_ast.py
🔼 Patched by@wert-rar
in #3