Hello,

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/e79b0b361da0d277c11af73213b6aadc4854046b/astroid/mixins.py#L59

B)
The class “Compare” was designed with the usage of only the base class “NodeNG” 
so far.
https://github.com/PyCQA/astroid/blame/6463dee0f5819ddfa344628aa504f226198f48fd/astroid/nodes/node_classes.py#L1664


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?

Regards,
Markus
_______________________________________________
code-quality mailing list -- code-quality@python.org
To unsubscribe send an email to code-quality-le...@python.org
https://mail.python.org/mailman3/lists/code-quality.python.org/
Member address: arch...@mail-archive.com

Reply via email to