[Ironpython-users] IronPython, Daily Digest 2/9/2012

no_reply at codeplex.com no_reply at codeplex.com
Fri Feb 10 10:37:43 CET 2012


Hi ironpython,

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

In today's digest:ISSUES

1. [New issue] Problem with indexers of generic collections
2. [New comment] Import System does not work when script called from C#
3. [Status update] Rename *.cs files to properly reflect the CPython builtin modules they implement
4. [Status update] Place for discussion
5. [Status update] IDLE-like syntax-highlighting editor
6. [Status update] Visual Studio: package did not load correctly
7. [Status update] urllib.quote returns wrong hex values
8. [Status update] Could not add reference to assembly Microsoft.Scripting.Core
9. [New comment] IronPython allows obj.None - should be a SyntaxError
10. [New comment] ipy.exe crashes when launched from a subst UNC path
11. [New comment] ipy.exe hangs with 100% CPU core usage when inserting certain data into DB
12. [New comment] Incorrect line reported in traceback
13. [New comment] pyc fails if a file contains a call to unicode
14. [New comment] 8-bit strings can't contain characters > 0x80
15. [Status update] 1.1.2:  Re-adding event handlers broken in 1.1

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

ISSUES

1. [New issue] Problem with indexers of generic collections
http://ironpython.codeplex.com/workitem/32217
User VitalySavkin has proposed the issue:

"For generic .NET types the problem happens when a first access to the indexer is wrong, for example:

Right:
IronPython 2.7 Alpha 1 (2.7.0.1) on .NET 4.0.30319.1
Type "help", "copyright", "credits" or "license" for more information.
>>> import System
>>> d = System.Collections.Generic.Dictionary[str, int]()
>>> d['0']
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
KeyError: The given key was not present in the dictionary.
>>> d[0]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: expected str, got int
>>> d['0']
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
KeyError: The given key was not present in the dictionary.

Wrong:
IronPython 2.7 Alpha 1 (2.7.0.1) on .NET 4.0.30319.1
Type "help", "copyright", "credits" or "license" for more information.
>>> import System
>>> d = System.Collections.Generic.Dictionary[str, int]()
>>> d[0]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: expected str, got int
>>> d['0']
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'str' object has no attribute '__index__'
>>> d.__getitem__('0')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
KeyError: The given key was not present in the dictionary."-----------------

2. [New comment] Import System does not work when script called from C#
http://ironpython.codeplex.com/workitem/19249
User MarkusSchaber has commented on the issue:

"Please keep the amount of implicitly added assembly references down to a minimum in hosted/embedded IronPython environments by default (or at least add an option to do so). In some (sandboxed) environments, we only want to expose explicitly added assemblies to the scripts."-----------------

3. [Status update] Rename *.cs files to properly reflect the CPython builtin modules they implement
http://ironpython.codeplex.com/workitem/21026
User slide_o_mix has updated the issue:
Status has changed from Active to Closed with the following comment, 

"Fixed in 2.7.1"-----------------

4. [Status update] Place for discussion
http://ironpython.codeplex.com/workitem/30168
User slide_o_mix has updated the issue:
Status has changed from Proposed to Closed with the following comment, 

"Not an issue."-----------------

5. [Status update] IDLE-like syntax-highlighting editor
http://ironpython.codeplex.com/workitem/20293
User slide_o_mix has updated the issue:
Status has changed from Active to Closed with the following comment, 

"Python Tools for Visual Studio is the recommended IPy editor."-----------------

6. [Status update] Visual Studio: package did not load correctly
http://ironpython.codeplex.com/workitem/29767
User slide_o_mix has updated the issue:
Status has changed from Proposed to Closed with the following comment, 

"IronPython Studio is no longer supported. Please use Python Tools for Visual Studio."-----------------

7. [Status update] urllib.quote returns wrong hex values
http://ironpython.codeplex.com/workitem/28233
User slide_o_mix has updated the issue:
Status has changed from Active to Closed with the following comment, 

"Can't reproduce in 2.7.1"-----------------

8. [Status update] Could not add reference to assembly Microsoft.Scripting.Core
http://ironpython.codeplex.com/workitem/28397
User slide_o_mix has updated the issue:
Status has changed from Proposed to Closed with the following comment, 

"These assemblies are now integrated into System.Core in .NET 4.0"-----------------

9. [New comment] IronPython allows obj.None - should be a SyntaxError
http://ironpython.codeplex.com/workitem/669
User slide_o_mix has commented on the issue:

"This is still an issue in 2.7.1"-----------------

10. [New comment] ipy.exe crashes when launched from a subst UNC path
http://ironpython.codeplex.com/workitem/28905
User slide_o_mix has commented on the issue:

"The interesting thing is running ipy.exe from the same server location (not using the subst path) works just fine. "-----------------

11. [New comment] ipy.exe hangs with 100% CPU core usage when inserting certain data into DB
http://ironpython.codeplex.com/workitem/26500
User slide_o_mix has commented on the issue:

"I'm unable to reproduce this on 2.7.1 with ipy.exe and SQL Server 2008. I don't have a 2005 instance to play with. Can you try with 2008 and see if the issue still exists? Also, can you do the same thing in a C# app with no issue?"-----------------

12. [New comment] Incorrect line reported in traceback
http://ironpython.codeplex.com/workitem/24164
User slide_o_mix has commented on the issue:

"Can we close this out as fixed in 2.7?"-----------------

13. [New comment] pyc fails if a file contains a call to unicode
http://ironpython.codeplex.com/workitem/26593
User slide_o_mix has commented on the issue:

"Can we close this out as working in 2.7.1?"-----------------

14. [New comment] 8-bit strings can't contain characters > 0x80
http://ironpython.codeplex.com/workitem/14104
User slide_o_mix has commented on the issue:

"It's failing here:

IronPython.Runtime.PythonAsciiEncoding.GetCharCount(Byte[] bytes, Int32 index, Int32 count)

There is a check if the byte value is > 0x7f"-----------------

15. [Status update] 1.1.2:  Re-adding event handlers broken in 1.1
http://ironpython.codeplex.com/workitem/13685
User slide_o_mix has updated the issue:
Status has changed from Active to Closed with the following comment, 

"Works in 2.7.1"
----------------------------------------------



----------------------------------------------
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/20120210/728affed/attachment.html>


More information about the Ironpython-users mailing list