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

CodePlex no_reply at codeplex.com
Tue Jun 25 09:20:10 CEST 2013


Hi ironpython,

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

In today's digest:ISSUES

1. [New comment] hashlib update really slow
2. [New comment] hashlib update really slow
3. [New comment] ast.parse fails on semicolon
4. [New comment] ast.parse fails on semicolon
5. [New issue] Can't install 2.6.2 for .Net 4.0 - can't find wininst-9.0.exe
6. [New comment] Can't install 2.6.2 for .Net 4.0 - can't find wininst-9.0.exe

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

ISSUES

1. [New comment] hashlib update really slow
http://ironpython.codeplex.com/workitem/34022
User clayton123 has commented on the issue:

"<p>This is probably only part of the problem, but the modules I've tried in hashlib (md5, sha256, and sha512) all seem to have a strange linear increase in how long it takes to call update().  Try this test code:<br>```<br>import hashlib<br>from time import clock</p><p>buffer = ' '*1024<br>hash_count = 10000<br>hasher = hashlib.md5()<br>output = open( 'linear_growth.txt', 'wt' )<br>while hash_count > 0:<br>    start = clock()<br>    hasher.update( buffer )<br>    finish = clock() - start<br>    print >> output, finish<br>    hash_count -= 1<br>output.close()<br>```<br>When I run this on my machine (64 bit Windows Server 2008 with IronPython 2.7.3) and look at the timing data there is a very clear linear growth that suggests each call to update takes (on average) around 3.5 usec longer than the one before.  The graphs are different between ipy and ipy64, but the growth trend is the same.  Very strange.</p"-----------------

2. [New comment] hashlib update really slow
http://ironpython.codeplex.com/workitem/34022
User pingy has commented on the issue:

"<p>Clayton123</p><p>thanks for the test code. Indeed I can reproduce the linear growth phenomenon. The plot of the time per update vs iteration number looks like an escalator. In fact, one can see detect multiple trend lines all with the same slope. Very weird.</p"-----------------

3. [New comment] ast.parse fails on semicolon
http://ironpython.codeplex.com/workitem/34196
User paweljasinski has commented on the issue:

"<p>I think you have to update to 2.7.4 beta 1. Here is what I am getting:</p><p>C:\Program Files\Console2>ipy<br>IronPython 2.7.4a1 (2.7.0.40) on .NET 4.0.30319.296 (32-bit)<br>Type "help", "copyright", "credits" or "license" for more information.<br>>>> import ast<br>>>> m=ast.parse("a = 1;b = 2")<br>>>> c=compile(m,"",mode="exec")<br>>>> exec c<br>>>> a,b<br>(1, 2)<br></p"-----------------

4. [New comment] ast.parse fails on semicolon
http://ironpython.codeplex.com/workitem/34196
User paweljasinski has commented on the issue:

"<p>```<br>C:\Program Files\Console2>ipy<br>IronPython 2.7.4a1 (2.7.0.40) on .NET 4.0.30319.296 (32-bit)<br>Type "help", "copyright", "credits" or "license" for more information.<br>>>> import ast<br>>>> m=ast.parse("a = 1;b = 2")<br>>>> c=compile(m,"",mode="exec")<br>>>> exec c<br>>>> a,b<br>(1, 2)<br>```<br>sorry for the formatting, but I don't know how to edit my own posts </p"-----------------

5. [New issue] Can't install 2.6.2 for .Net 4.0 - can't find wininst-9.0.exe
http://ironpython.codeplex.com/workitem/34199
User smartjoel has proposed the issue:

"I need to install 2.6 because i need to run Ironclad.
I am installing on Windows7 (x64).

The failing happens here:
InstallFiles: File: wininst-9.0.exe,  Directory: C:\Program Files (x86)\IronPython 2.6 for .NET 4.0\Lib\distutils\command\,  Size: 196096
Error 1334. The file 'File_wininst_9.0.exe' cannot be installed because the file cannot be found in cabinet file 'IronPy.cab'. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package.
MSI (s) (BC:0C) [09:34:33:380]: Product: IronPython 2.6 for .NET 4.0 -- Error 1334. The file 'File_wininst_9.0.exe' cannot be installed because the file cannot be found in cabinet file 'IronPy.cab'. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package."-----------------

6. [New comment] Can't install 2.6.2 for .Net 4.0 - can't find wininst-9.0.exe
http://ironpython.codeplex.com/workitem/34199
User smartjoel has commented on the issue:

"<p>I wonder why it is File_wininst_9.0.exe? why 'File_ ' is appended to wininst9.0.exe?</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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20130625/afac1786/attachment.html>


More information about the Ironpython-users mailing list