-
- [translation:info] Error:
- File "/home/omer/Documents/Projects/pypy/rpython/translator/goal/translate.py", line 318, in main
- drv.proceed(goals)
- File "/home/omer/Documents/Projects/pypy/rpython/translator/driver.py", line 554, in proceed
- result = self._execute(goals, task_skip = self._maybe_skip())
- File "/home/omer/Documents/Projects/pypy/rpython/translator/tool/taskengine.py", line 114, in _execute
- res = self._do(goal, taskcallable, *args, **kwds)
- File "/home/omer/Documents/Projects/pypy/rpython/translator/driver.py", line 278, in _do
- res = func()
- File "/home/omer/Documents/Projects/pypy/rpython/translator/driver.py", line 315, in task_annotate
- s = annotator.build_types(self.entry_point, self.inputtypes)
- File "/home/omer/Documents/Projects/pypy/rpython/annotator/annrpython.py", line 92, in build_types
- return self.build_graph_types(flowgraph, inputs_s, complete_now=complete_now)
- File "/home/omer/Documents/Projects/pypy/rpython/annotator/annrpython.py", line 140, in build_graph_types
- self.complete()
- File "/home/omer/Documents/Projects/pypy/rpython/annotator/annrpython.py", line 229, in complete
- self.complete_pending_blocks()
- File "/home/omer/Documents/Projects/pypy/rpython/annotator/annrpython.py", line 224, in complete_pending_blocks
- self.processblock(graph, block)
- File "/home/omer/Documents/Projects/pypy/rpython/annotator/annrpython.py", line 398, in processblock
- self.flowin(graph, block)
- File "/home/omer/Documents/Projects/pypy/rpython/annotator/annrpython.py", line 501, in flowin
- self.consider_op(op)
- File "/home/omer/Documents/Projects/pypy/rpython/annotator/annrpython.py", line 653, in consider_op
- resultcell = op.consider(self)
- File "/home/omer/Documents/Projects/pypy/rpython/flowspace/operation.py", line 104, in consider
- return spec(annotator, *self.args)
- File "/home/omer/Documents/Projects/pypy/rpython/annotator/unaryop.py", line 118, in simple_call_SomeObject
- return s_func.call(argspec)
- File "/home/omer/Documents/Projects/pypy/rpython/annotator/unaryop.py", line 978, in call
- return bookkeeper.pbc_call(self, args)
- File "/home/omer/Documents/Projects/pypy/rpython/annotator/bookkeeper.py", line 535, in pbc_call
- results.append(desc.pycall(whence, args, s_previous_result, op))
- File "/home/omer/Documents/Projects/pypy/rpython/annotator/classdesc.py", line 732, in pycall
- s_init.call(args)
- File "/home/omer/Documents/Projects/pypy/rpython/annotator/unaryop.py", line 978, in call
- return bookkeeper.pbc_call(self, args)
- File "/home/omer/Documents/Projects/pypy/rpython/annotator/bookkeeper.py", line 535, in pbc_call
- results.append(desc.pycall(whence, args, s_previous_result, op))
- File "/home/omer/Documents/Projects/pypy/rpython/annotator/description.py", line 293, in pycall
- result = annotator.recursivecall(graph, whence, inputcells)
- File "/home/omer/Documents/Projects/pypy/rpython/annotator/annrpython.py", line 327, in recursivecall
- self.addpendingblock(graph, graph.startblock, inputcells)
- File "/home/omer/Documents/Projects/pypy/rpython/annotator/annrpython.py", line 189, in addpendingblock
- self.mergeinputargs(graph, block, cells)
- File "/home/omer/Documents/Projects/pypy/rpython/annotator/annrpython.py", line 435, in mergeinputargs
- unions = [annmodel.unionof(c1,c2) for c1, c2 in zip(oldcells,inputcells)]
- File "/home/omer/Documents/Projects/pypy/rpython/annotator/model.py", line 775, in unionof
- s1 = pair(s1, s2).union()
- File "/home/omer/Documents/Projects/pypy/rpython/annotator/binaryop.py", line 197, in union
- "integers are of the same signedness")
- [translation:ERROR] UnionError:
-
- RPython cannot prove that these integers are of the same signedness
-
- Offending annotations:
- SomeInteger(knowntype=int, nonneg=False, unsigned=False)
- SomeInteger(knowntype=r_uint, nonneg=True, unsigned=True)
-
-
- Occurred processing the following simple_call:
- function OpErrFmt.__init__ </home/omer/Documents/Projects/pypy/pypy/interpreter/error.py, line 366> returning
-
- v979 = simple_call(OpErrFmt_0, w_type_0, strings_0, v978)
-
- In <FunctionGraph of (pypy.interpreter.error:419)oefmt__Invalid__uXXXX_escape__char__d__star_1 at 0x2c9eead8>:
- Happened at file /home/omer/Documents/Projects/pypy/pypy/interpreter/error.py line 419
-
-
- Known variable annotations:
- OpErrFmt_0 = SomeConstantType(const=<class 'pypy.interpreter.error.OpErrFmt'>)
- w_type_0 = SomeInstance(can_be_None=False, classdef=pypy.objspace.std.typeobject.W_TypeObject, const=<W_TypeObject 'exceptions.ValueError' at 0x36dfad0>)
- strings_0 = SomeTuple(const=('Invalid \\uXXXX escape (char ', ')'), items=(SomeString(const='Invalid \\uXXXX escape (char ', no_nul=True), SomeChar(const=')', no_nul=True)))
- v978 = SomeInteger(knowntype=r_uint, nonneg=True, unsigned=True)
-
- Processing block:
- block@34[args_0...] is a <class 'rpython.flowspace.flowcontext.EggBlock'>
- in (pypy.interpreter.error:419)oefmt__Invalid__uXXXX_escape__char__d__star_1
- containing the following operations:
- OpErrFmt_0 = getitem(v980, (0))
- strings_0 = getitem(v980, (1))
- v978 = getitem(args_0, (0))
- v979 = simple_call(OpErrFmt_0, w_type_0, strings_0, v978)
- --end--
-