python-var-dump
python-var-dump copied to clipboard
does a bad job with ctypes.wintypes.ULARGE_INTEGER
no matter what the ULARGE_INTEGER actually contains, it will just var_dump as
object(c_ulonglong) (0)
for example
import ctypes
import ctypes.wintypes
from var_dump import var_dump
foo = ctypes.wintypes.ULARGE_INTEGER(123)
var_dump(foo, foo.value)
prints
#0 object(c_ulonglong) (0)
#1 int(123)
interestingly print() gets it right,
print(ctypes.wintypes.ULARGE_INTEGER(123))
gives
c_ulonglong(123)
proposed fix in #16
same problem with ctypes.wintypes.HANDLE not sure if its worthwhile to create a separate issue for ctypes.wintypes.HANDLE ? in any case, #16 also fixes ctypes.wintypes.HANDLE
2 different proposed fixes: #16 and #17 i don't know which of those is better, hopefully someone else does