[Ironpython-users] IronPython, Daily Digest 3/13/2012

no_reply at codeplex.com no_reply at codeplex.com
Wed Mar 14 18:35:05 CET 2012


Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [Status update] sys.version_info < tuple doesn't work like CPython
2. [New issue] ctypes: wrong value returned for c_char_Array
3. [New comment] NullReference bug report
4. [New comment] NullReference bug report
5. [New comment] NullReference bug report
6. [New comment] Cannot install and run Django
7. [New comment] Could not get dependencies for project reference 'PythonLibrary1'
8. [New comment] Create a FULLY StandAlone ".exe" binary?
9. [New comment] Implement memoryview type

----------------------------------------------

ISSUES

1. [Status update] sys.version_info < tuple doesn't work like CPython
http://ironpython.codeplex.com/workitem/32400
User slide_o_mix has updated the issue:
Status has changed from Fixed to Closed with the following comment, 

"Verified as fixed in 2.7.2.1"-----------------

2. [New issue] ctypes: wrong value returned for c_char_Array
http://ironpython.codeplex.com/workitem/32401
User ergorion has proposed the issue:

"IronPython has an incompatibility regarding ctypes. When accessing an c_char_Array, IronPython immediately returns the value of the array as a string, whereas cpython returns the object; in order to access the string, one needs to dereference the string via .value

Example:
Imagine the following definition for ctypes:

ARNameType = c_char * 255
class ARNameList(Structure):
    _fields_ = [
    # ar.h 329
    ('numItems', c_uint),
    ('nameList', POINTER(ARNameType)),
]

The variable result holds such an ARNameList.
CPython:
>>> result
<pyars._cars7604.ARNameList object at 0x029E03A0>
>>> result.nameList
<__main__.LP_c_char_Array_255 object at 0x029D69E0>
>>> result.nameList[0]
<__main__.c_char_Array_255 object at 0x029D6C60>
>>> result.nameList[0].value
'Distributed Mapping'

IronPython:
>>> result
<ARNameList object at 0x000000000000002F>
>>> result.nameList
<LP_c_char_Array_255 object at 0x0000000000000031>
>>> result.nameList[0]
'Distributed Mapping'"-----------------

3. [New comment] NullReference bug report
http://ironpython.codeplex.com/workitem/31621
User jdhardy has commented on the issue:

"Doesn't really need a test case; I can see from reading it that it'll break. Easy enough to fix though."-----------------

4. [New comment] NullReference bug report
http://ironpython.codeplex.com/workitem/31621
User jdhardy has commented on the issue:

"Doesn't really need a test case; I can see from reading it that it'll break. Easy enough to fix though."-----------------

5. [New comment] NullReference bug report
http://ironpython.codeplex.com/workitem/31621
User slide_o_mix has commented on the issue:

"Yeah, I was going through about 800 issues that day and probably got confused on which one I was looking at. :-)"-----------------

6. [New comment] Cannot install and run Django
http://ironpython.codeplex.com/workitem/20939
User jdhardy has commented on the issue:

"I have a handful of fixes for Django at https://bitbucket.org/jdhardy/django-ipy-patches; some of them are probably still applicable. In particular, this error is fixed by https://bitbucket.org/jdhardy/django-ipy-patches/changeset/9f88008c5d72#chg-fix-lazy-with-str-and-unicode."-----------------

7. [New comment] Could not get dependencies for project reference 'PythonLibrary1'
http://ironpython.codeplex.com/workitem/10245
User slide_o_mix has commented on the issue:

"Did you ever resolve this issue?"-----------------

8. [New comment] Create a FULLY StandAlone ".exe" binary?
http://ironpython.codeplex.com/workitem/20621
User slide_o_mix has commented on the issue:

"You can now create a standalone executable, but it will still require the .NET framework. I don't think generating a COMPLETELY standalone will ever happen."-----------------

9. [New comment] Implement memoryview type
http://ironpython.codeplex.com/workitem/28311
User slide_o_mix has commented on the issue:

"memoryview is implemented but has some compatibility issues."
----------------------------------------------



----------------------------------------------
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/20120314/2e5c2a6c/attachment.html>


More information about the Ironpython-users mailing list