Hi ironpython,
Here's your Daily Digest of new issues for project "IronPython".
In today's digest:ISSUES
1. [New comment] Rhino - IronPython - add Leap Motion
2. [New comment] Rhino - IronPython - add Leap Motion
3. [New issue] regular expression extension accepts only single flag
4. [New comment] regular expression extension accepts only single flag
----------------------------------------------
ISSUES
1. [New comment] Rhino - IronPython - add Leap Motion
http://ironpython.codeplex.com/workitem/35132
User MarkusSchaber has commented on the issue:
"<p>I don't know whether they can do that much, as IronPython simply cannot
load cPython extensions directly (the internal data structures are totally
different).</p><p>The IronClad project (https://code.google.com/p/ironclad/)
tried to solve the gap by adding a wrapper layer, but it seems dormant right
now.</p><p>As far as I could see, they also offer support for C#. My guess is
that it is a .NET wrapper DLL which offers a "normal" .NET API - this
can directly be used by IronPython via clr.AddReference and Import.</p><p>Maybe
you could also leverage the websocket interface.</p>"-----------------
2. [New comment] Rhino - IronPython - add Leap Motion
http://ironpython.codeplex.com/workitem/35132
User Mjnewsum has commented on the issue:
"<p>I am trying to bring in the C# module like this:</p><p>yourFolder =
r"C:\Users\Jake\Desktop\CSetup"<br>import sys<br>import clr<br>import
os</p><p>clr.AddReferenceToFileAndPath(os.path.join(yourFolder,
"Leap.dll"))</p><p>if yourFolder not in sys.path:<br>
sys.path.append(yourFolder)<br>import Leap</p><p>The Leap.dll file is in the
folder, but when I run, it always returns:</p><p>Message: file does not exist:
C:\Users\Jake\Desktop\CSetup\LeapCSharp.dll</p><p>Traceback:<br> line 6, in
<module>,
"C:\Users\Jake\Desktop\CSetup\CTesting.py"</p><p><br>Is there
something I am doing wrong?</p>"-----------------
3. [New issue] regular expression extension accepts only single flag
http://ironpython.codeplex.com/workitem/35135
User paweljasinski has proposed the issue:
"IronPython:
>>> import re
>>> re.compile(r"(?u)")
<RE_Pattern object at 0x000000000000002F>
>>> re.compile(r"(?s)")
<RE_Pattern object at 0x0000000000000030>
>>> re.compile(r"(?su)")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
re.error: parsing "(?su)" - Unrecognized grouping construct.
cpython:
>>> import re
>>> re.compile(r"(?u)")
<_sre.SRE_Pattern object at 0x6ffffed6630>
>>> re.compile(r"(?s)")
<_sre.SRE_Pattern object at 0x6ffffed66f0>
>>> re.compile(r"(?su)")
<_sre.SRE_Pattern object at 0x6ffffed6690>
"-----------------
4. [New comment] regular expression extension accepts only single flag
http://ironpython.codeplex.com/workitem/35135
User paweljasinski has commented on the issue:
"<p>Workaround:<br>re.compile(r"(?us)")</p><p>and for more complex
combinations, slit into individual<br>re.compile(r"(?s)(?u)")</p>"
----------------------------------------------
----------------------------------------------
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.
_______________________________________________
Ironpython-users mailing list
[email protected]
https://mail.python.org/mailman/listinfo/ironpython-users