class_docstr: Perform advanced syntax checking, based on strict aliases analysis:
  - is there a function redefinition?
  - is there a function call that does not match the called expression arity?
  - is there an operation that updates a global variable?
class_docstr_tok: ["Perform","advanced","syntax","checking",",","based","on","strict","aliases","analysis",":","-","is","there","a","function","redefinition","?","-","is","there","a","function","call","that","does","not","match","the","called","expression","arity","?","-","is","there","an","operation","that","updates","a","global","variable","?"]
code: def check_assert_with_side_effect(self, node, arg):
      if self.inassert:
          raise PythranSyntaxError(
              "Cannot call a function with side effect " "in an assert",
              node,
          )
  
file_path: pythran/pythran/analyses/extended_syntax_check.py
imports: from pythran.passmanager import ModuleAnalysis
  from pythran.analyses import StrictAliases, ArgumentEffects
  from pythran.syntax import PythranSyntaxError
  from pythran.intrinsic import ConstantIntr, FunctionIntr
  from pythran import metadata
  import gast
label_desc: Use image node_id 4 for calling the ExtendedSyntaxCheck obj's underlying member method code with example usage: obj.check_assert_with_side_effect(node, arg) without return types