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

no_reply at codeplex.com no_reply at codeplex.com
Thu Nov 24 16:53:29 CET 2011


Hi ironpython,

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

In today's digest:ISSUES

1. [New comment] Bug with Log() function
2. [New issue] IronPython 2.7.1 csv pyc
3. [New comment] IronPython 2.7.1 csv pyc
4. [New comment] IronPython 2.7.1 csv pyc
5. [New comment] IronPython 2.7.1 csv pyc
6. [New comment] IronPython 2.7.1 csv pyc
7. [New comment] IronPython 2.7.1 csv pyc
8. [New comment] IronPython 2.7.1 csv pyc

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

ISSUES

1. [New comment] Bug with Log() function
http://ironpython.codeplex.com/workitem/31788
User MarkusSchaber has commented on the issue:

"This seems to be a classic floating point precision problem: the .NET System.Math.Log() as well as cPython 2.6.6 (Linux) , cPython 2.6.5 (cygwin) and Active Python 2.7.2.5 (Win 64 Bit) return the same value.

See http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems and other sources on the internet for explanations and possible workarounds.

"-----------------

2. [New issue] IronPython 2.7.1 csv pyc
http://ironpython.codeplex.com/workitem/31800
User Elmi has proposed the issue:

"When compiling with pyc an executable importing the csv module.
The exception "IronPython.RunTime.Exceptions.ImportException: No module named csv" is thrown.
The script works fine with ipy alone."-----------------

3. [New comment] IronPython 2.7.1 csv pyc
http://ironpython.codeplex.com/workitem/31800
User slide_o_mix has commented on the issue:

"Does this happen with any other standard library module?"-----------------

4. [New comment] IronPython 2.7.1 csv pyc
http://ironpython.codeplex.com/workitem/31800
User Elmi has commented on the issue:

"No, standard ones seems to work fine. I didn't try with ast or unicodedata. I'm guessing the newly integrated c extensions (csv, ast and unicodedate) are not part of the dlls bundled with ironpython 2.7.1 or something like that."-----------------

5. [New comment] IronPython 2.7.1 csv pyc
http://ironpython.codeplex.com/workitem/31800
User slide_o_mix has commented on the issue:

"csv is not a C module, _csv is. csv.py is a python module that imports _csv. Please try with something like unittest. "-----------------

6. [New comment] IronPython 2.7.1 csv pyc
http://ironpython.codeplex.com/workitem/31800
User jdhardy has commented on the issue:

"_csv, unicodedate, and _ast are all in IronPython.Modules.dll, so if that's available they all should be as well."-----------------

7. [New comment] IronPython 2.7.1 csv pyc
http://ironpython.codeplex.com/workitem/31800
User Elmi has commented on the issue:

"Ok you're right. I get it. unittest / json failed to import too.
I'll investigate, I guess I missed something ... sounds like a stupid mistake."-----------------

8. [New comment] IronPython 2.7.1 csv pyc
http://ironpython.codeplex.com/workitem/31800
User Elmi has commented on the issue:

"I use pyc.py like this:
> ipy.exe pyc.py /main:myfile.py /target:exe myfile.py

Compiling produce myfile.exe and myfile.dll.
I put the following dlls into the same folder:
IronPython.dll
IronPython.Modules.dll
Microsoft.Dynamic.dll
Microsoft.Scripting.dll
Microsoft.Scripting.Metadata.dll
Microsoft.Scripting.Debugging.dll
MyCSharpLibrary.dll

Basically the script.py contains only:
import sys
import clr
clr.AddReferenceByPartialName ('MyCSharpLibrary')
from MyCSharpLibrary import MyClass
import csv
# do stuff with it 

What did I miss ?"
----------------------------------------------



----------------------------------------------
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/20111124/e324aaab/attachment.html>


More information about the Ironpython-users mailing list