Closed GoogleCodeExporter closed 9 years ago
After checking on the python ctypes docs
(http://docs.python.org/library/ctypes.html#ctypes.byref) and the changelog it
seems that the offset argument should be available starting from Python 2.6.
I've tested this in an old VM running OpenSUSE 11.2 with Python 2.6.2 and it
works fine. So this doesn't seem to be a problem with distorm so I guess this
issue can be closed.
Sorry for the inconvenience, I should have checked this on another platform
before posting the bug.
Original comment by codrutze...@gmail.com
on 11 Jan 2011 at 5:05
Hey there,
if you take a look at the header of the __init__.py it reads as following:
"# Compatiable with Python2.6 and above." specifically because of that reason
you found. I believe most people should be running Python 2.6 by now at least,
obviously I'm half wrong...
Thanks for your comment anyway.
Original comment by distorm@gmail.com
on 12 Jan 2011 at 8:40
Won't be fixed - to support Python 2.5 and below.
Original comment by distorm@gmail.com
on 12 Jan 2011 at 8:42
Hi,
Like I said, I was/am using Python 2.6.5 (>2.6) and got a syntax error. I did
see the comment about the minimum version required, that is why I thought this
may be a bug (since I was using a version that should work). However, after
removing all the .egg files I have installed it works fine. At the moment it
would seem that one of the modules I installed may have broken something (now I
have to figure out which one). :(
Again, sorry for the false alarm.
Original comment by codrutze...@gmail.com
on 12 Jan 2011 at 1:29
Maybe I should change it back then or something. I will check it out later.
Original comment by distorm@gmail.com
on 13 Jan 2011 at 2:58
Original issue reported on code.google.com by
codrutze...@gmail.com
on 9 Jan 2011 at 10:03