[Ironpython-users] IronPython, Daily Digest 6/26/2014
CodePlex
no_reply at codeplex.com
Fri Jun 27 09:28:48 CEST 2014
Hi ironpython,
Here's your Daily Digest of new issues for project "IronPython".
In today's digest:ISSUES
1. [New issue] ctype legacy support
----------------------------------------------
ISSUES
1. [New issue] ctype legacy support
http://ironpython.codeplex.com/workitem/35326
User paweljasinski has proposed the issue:
"the following appears to be agreed way of doing things in cpython:
import ctypes
import ctypes.wintypes
GetStdHandle = ctypes.windll.kernel32.GetStdHandle
GetStdHandle.argtypes = [ ctypes.wintypes.DWORD, ]
GetStdHandle.restype = ctypes.wintypes.HANDLE
print GetStdHandle(-11) # line 8
Reference: http://stackoverflow.com/questions/17993814/why-the-irrelevant-code-made-a-difference
When run, ironpython has a problem with it.
rejap at WIN-CUE1I6EN9JB ~/tmp
$ ipy ctypes-stdhandle.py
Traceback (most recent call last):
File "ctypes-stdhandle.py", line 8, in <module>
TypeError: expected unsigned long, got int
and the same under cpython 2.7-64:
rejap at WIN-CUE1I6EN9JB ~/tmp
$ /c/Python27/python ctypes-stdhandle.py
424
"
----------------------------------------------
----------------------------------------------
You are receiving this email because you subscribed to notifications on CodePlex.
To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20140627/9b7dc2f1/attachment.html>
More information about the Ironpython-users
mailing list