Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)

src/n/u/Nuitka-HEAD/nuitka/nodes/BuiltinIteratorNodes.py   Nuitka(Download)
                new_node = wrapExpressionWithNodeSideEffects(
                    new_node = makeConstantReplacementNode( arg_length, self ),
                    old_node = self.getValue()
                )
 
    def computeExpression(self, constraint_collection):
        value = self.getValue()
 
        # Iterator of an iterator can be removed.
        if value.isIteratorMaking():
    def getDetails(self):
        return {
            "iter" : self.getValue()
        }
 

src/n/u/Nuitka-0.5.1.5/nuitka/nodes/BuiltinIteratorNodes.py   Nuitka(Download)
                new_node = wrapExpressionWithNodeSideEffects(
                    new_node = makeConstantReplacementNode( arg_length, self ),
                    old_node = self.getValue()
                )
 
    def computeExpression(self, constraint_collection):
        value = self.getValue()
 
        # Iterator of an iterator can be removed.
        if value.isIteratorMaking():
    def getDetails(self):
        return {
            "iter" : self.getValue()
        }
 

src/n/u/Nuitka-HEAD/nuitka/nodes/TypeNodes.py   Nuitka(Download)
    def computeExpression(self, constraint_collection):
        value = self.getValue()
 
        if value.isCompileTimeConstant():
            value = value.getCompileTimeConstant()
 
        result = makeStatementExpressionOnlyReplacementNode(
            expression = self.getValue(),
            node       = statement
        )

src/n/u/Nuitka-0.5.1.5/nuitka/nodes/TypeNodes.py   Nuitka(Download)
    def computeExpression(self, constraint_collection):
        value = self.getValue()
 
        if value.isCompileTimeConstant():
            value = value.getCompileTimeConstant()
 
        result = makeStatementExpressionOnlyReplacementNode(
            expression = self.getValue(),
            node       = statement
        )