[Ironpython-users] IronPython, Daily Digest 6/24/2012

no_reply at codeplex.com no_reply at codeplex.com
Mon Jun 25 14:36:56 CEST 2012


Hi ironpython,

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

In today's digest:ISSUES

1. [New issue] {"No module named compiler.ast"}
2. [New comment] {"No module named compiler.ast"}
3. [New comment] version() shows only version number when running pyc-compiled .exe
4. [New comment] sys.version is incomplete in user created engine, creating problems in platform.py
5. [New issue] SQLite: InterfaceError: Unable to bind parameter 1 - unsupported type
6. [New issue] Use unsigned assemblies for ipy.exe?

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

ISSUES

1. [New issue] {"No module named compiler.ast"}
http://ironpython.codeplex.com/workitem/32883
User moiseyo has proposed the issue:

"IronPython  IronPython-2.7.2.1


I created VB.NET      Framework  4.0 SP1  project  
and Getting  error   

{"No module named compiler.ast"}

What do I  miss

I'm new in Irion python , but have  knowledge vb and python 

Thank in advance"-----------------

2. [New comment] {"No module named compiler.ast"}
http://ironpython.codeplex.com/workitem/32883
User moiseyo has commented on the issue:

"ps.  Wimdows 7  prof"-----------------

3. [New comment] version() shows only version number when running pyc-compiled .exe
http://ironpython.codeplex.com/workitem/30267
User jdhardy has commented on the issue:

"This is related to [workitem:31736]. The engine does not fill out the version fields by default."-----------------

4. [New comment] sys.version is incomplete in user created engine, creating problems in platform.py
http://ironpython.codeplex.com/workitem/31736
User jdhardy has commented on the issue:

"As a workaround, you can do:

    Python.SetHostVariables(engine, sys.prefix, sys.executable, '')

to properly initialize it. I'll make sure a proper fix gets into 2.7.4."-----------------

5. [New issue] SQLite: InterfaceError: Unable to bind parameter 1 - unsupported type
http://ironpython.codeplex.com/workitem/32884
User paweljasinski has proposed the issue:

"This happens in ipython when trying to save history.
Code in ipython:

                conn.execute("INSERT INTO output_history VALUES (?, ?, ?)",
                                (self.session_number,)+line)

The variable in python is reported as long (<type 'long'>)
After modifying exception message, it turned out to be System.Numerics.BigInteger

The origin of the value is SQLite itself:

        with conn:
            cur = conn.execute("""INSERT INTO sessions VALUES (NULL, ?, NULL,
                            NULL, "") """, (datetime.datetime.now(),))
            self.session_number = cur.lastrowid



I attach a fix, but I am not sure if this is the right thing to do. Perhaps cur.lastrowid should map returned value internally to something else (Microsoft.Scripting.Math.BigInteger)?"-----------------

6. [New issue] Use unsigned assemblies for ipy.exe?
http://ironpython.codeplex.com/workitem/32885
User jdhardy has proposed the issue:

"Mainly because of [workitem:32452], I think using signed assemblies for IronPython might be more hassle than it's worth. The assemblies in the GAC will always override local ones, which may not be what is desired.

Or, maybe there needs to be more discipline around interface-breaking changes; we don't do any checking to see if those are introduced between releases."
----------------------------------------------



----------------------------------------------
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/20120625/aa3038ce/attachment.html>


More information about the Ironpython-users mailing list