llvmpy / llvmpy

Originally a github fork of the llvm-py repository from http://www.mdevan.org/llvm-py/index.html updated to work with LLVM 3.x. Since then it has changed significantly with multiple sub-projects.

Home Page:www.llvmpy.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exception in IntegerType.__del__

pitrou opened this issue · comments

Trying to inspect stuff a bit at the interpreter prompt:

>>> target
<numba.targets.cpu.CPUContext object at 0x7ff0e7925eb8>
>>> target.engine.target_data.target_integer_type 
<llvmpy.api.llvm.IntegerType object at 0x7ff0e7935748>
>>> 1
Exception ignored in: <bound method IntegerType.__del__ of <llvmpy.api.llvm.IntegerType object at 0x7ff0e7935748>>
Traceback (most recent call last):
  File "/home/antoine/t/nd/lib/python3.4/site-packages/llvmpy/capsule.py", line 186, in __del__
    addr = item.pointer
AttributeError: 'IntegerType' object has no attribute 'pointer'
1