[Ironpython-users] IronPython, Daily Digest 10/11/2011

no_reply at codeplex.com no_reply at codeplex.com
Wed Oct 12 14:44:10 CEST 2011


Hi ironpython,

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

In today's digest:ISSUES

1. [New comment] Lib/config directory not present in zip distribution.
2. [New comment] Implement _elementtree module
3. [New comment] Implement _elementtree module
4. [New issue] Update ElementTree to IronPython compatible version

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

ISSUES

1. [New comment] Lib/config directory not present in zip distribution.
http://ironpython.codeplex.com/workitem/31417
User kenial has commented on the issue:

"It also happened to me. I'm using Mac OS X 10.6.8 and IronPython 2.7.1 beta 3 installed."-----------------

2. [New comment] Implement _elementtree module
http://ironpython.codeplex.com/workitem/21407
User jdhardy has commented on the issue:

"This issue is low priority because it refers to the _elementtree C accelerator module. To make ET work, IronPython needs a pyexpat implmentation ([workitem:20023]) or, as you pointed *last year* (sorry!), an upgrade to ET."-----------------

3. [New comment] Implement _elementtree module
http://ironpython.codeplex.com/workitem/21407
User pekkaklarck has commented on the issue:

"Submitted issue #31579 about changing ET implementation to IPY compatible version."-----------------

4. [New issue] Update ElementTree to IronPython compatible version
http://ironpython.codeplex.com/workitem/31579
User pekkaklarck has proposed the issue:

"The ElementTree implementation in IPY 2.6 and 2.7 is broken:

>>> from xml.etree import ElementTree as ET
>>> from StringIO import StringIO
>>> ET.parse(StringIO('<test/>'))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Program Files\IronPython 2.6 for .NET 4.0\Lib\xml\etree\ElementTree.py", line 862, in parse
File "C:\Program Files\IronPython 2.6 for .NET 4.0\Lib\xml\etree\ElementTree.py", line 581, in parse
File "C:\Program Files\IronPython 2.6 for .NET 4.0\Lib\xml\etree\ElementTree.py", line 1117, in __init__
ImportError: No module named expat; use SimpleXMLTreeBuilder instead
>>>

ElementTree 1.2.7 preview available at [1] has this comment: "ElementTree 1.2.7 preview is now available. This is 1.2.6 plus support for IronPython.". We've also used this version with Robot Framework [2] and at least in our relatively simple use it works great.

It might be worth checking how ET 1.3 alpha 3 works too. It's newer than 1.2.7 so it could have same IronPython fixes. CPython 2.7 uses ET 1.3 [3] so this would make IPY 2.7 API compatible with CPython 2.7 in this regard.

Notice that there's already work item #21407 about adding _elementtree module for the current ET implementation.

[1] http://effbot.org/zone/element-index.htm
[2] http://code.google.com/p/robotframework/wiki/DotNetSupport
[3] http://docs.python.org/library/xml.etree.elementtree.html"
----------------------------------------------



----------------------------------------------
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/20111012/0bf012dd/attachment.html>


More information about the Ironpython-users mailing list