Consistent handling of left and right inputs for selected operators (with astroid?)
Some operators are supported also by the Python programming language. There are operators which depend on two input parameters. Their representation in grammars and programming interfaces triggers special software development challenges.
Examples: A) A few classes represent assignments. But their base class “AssignTypeMixin” does not provide methods for simple access to required parameters at the moment. https://github.com/PyCQA/astroid/blame/e79b0b361da0d277c11af73213b6aadc48540...
B) The class “Compare” was designed with the usage of only the base class “NodeNG” so far. https://github.com/PyCQA/astroid/blame/6463dee0f5819ddfa344628aa504f226198f4...
How do you think about to support powerful data processing for left and right inputs together with base methods by such operator types so that source code analyses and transformations will become more convenient?