[Ironpython-users] IronPython, Daily Digest 3/14/2012

no_reply at codeplex.com no_reply at codeplex.com
Thu Mar 15 13:29:00 CET 2012


Hi ironpython,

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

In today's digest:ISSUES

1. [New issue] ast module is broken - TypeError: object.__new__() takes no parameters
2. [New issue] ironpython pdb throwing exception (broken in 2.7)
3. [New comment] Iron Python can't execute SPARK-0.6.1 package
4. [Status update] Iron Python can't execute SPARK-0.6.1 package
5. [Status update] Integrate Vendor's IronPython Sample Tests into Rowan Test Suite
6. [Status update] doctest support in cpython regression

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

ISSUES

1. [New issue] ast module is broken - TypeError: object.__new__() takes no parameters
http://ironpython.codeplex.com/workitem/32408
User paweljasinski has proposed the issue:

"When trying to use IPython I have discovered that ast module have fundamental problem. It appears to throw the exception whenever a non empty argument is provided. I can only suspect it is a left over from 2.6 -> 2.7 migration.

steps to reproduce:

import ast
ast.Num(5,lineno=0,col_offset=0)


And a snapshot of my session:

$ /c/Program\ Files/IronPython\ 2.7/ipy.exe 
IronPython 2.7.2.1 (2.7.0.40) on .NET 4.0.30319.261 (32-bit)
Type "help", "copyright", "credits" or "license" for more information.
>>> import ast
>>> ast.Num(5, lineno=0, col_offset=0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: object.__new__() takes no parameters
>>>

The ast.Num(5,lineno=0,col_offset=0) is taken out of module documentation and works in cpython"-----------------

2. [New issue] ironpython pdb throwing exception (broken in 2.7)
http://ironpython.codeplex.com/workitem/32412
User py_sunil has proposed the issue:

"issuing the following command is throwing exception
ipy "c:\Ironpython 2.7\Lib\pdb.py"  "C:\netipywork\demostringbuilder.py"

output
--------
C:\IronPython 2.7>ipy "c:\Ironpython 2.7\Lib\pdb.py"  "C:\netipywork\demostringbuilder.py"
Traceback (most recent call last):
  File "c:\Ironpython 2.7\Lib\pdb.py", line 1314, in main
    pdb._runscript(mainpyfile)
  File "c:\Ironpython 2.7\Lib\pdb.py", line 1233, in _runscript
    self.run(statement)
  File "c:\Ironpython 2.7\Lib\bdb.py", line 387, in run
    exec cmd in globals, locals
  File "<string>", line 1, in <module>
IOError: System.IO.IOException: execfile: specified file doesn't exist
   at Microsoft.Scripting.Runtime.LightExceptions.CheckAndThrow(Object value)
   at Microsoft.Scripting.Interpreter.FuncCallInstruction`2.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.Interpreter.HandleException(InterpretedFrame frame, Exception exception)
   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.LightLambda.Run5[T0,T1,T2,T3,T4,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)

   at IronPython.Compiler.PythonCallTargets.OriginalCallTarget4(PythonFunction function, Object arg0, Object arg1, Objec
t arg2, Object arg3)
   at IronPython.Runtime.PythonFunction.FunctionCaller`2.Default2Call2(CallSite site, CodeContext context, Object func,
T0 arg0, T1 arg1)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 ar
g3)
   at IronPython.Runtime.PythonFunction.FunctionCaller`2.Call2(CallSite site, CodeContext context, Object func, T0 arg0,
 T1 arg1)
   at IronPython.Runtime.Method.MethodBinding`1.SelfTarget(CallSite site, CodeContext context, Object target, T0 arg0)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)
   at IronPython.Runtime.PythonFunction.FunctionCaller`1.Call1(CallSite site, CodeContext context, Object func, T0 arg0)

   at IronPython.Compiler.Ast.CallExpression.Invoke1Instruction.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.LightLambda.Run3[T0,T1,T2,TRet](T0 arg0, T1 arg1, T2 arg2)
   at IronPython.Compiler.PythonCallTargets.OriginalCallTarget2(PythonFunction function, Object arg0, Object arg1)
   at IronPython.Runtime.PythonFunction.FunctionCaller`2.Call2(CallSite site, CodeContext context, Object func, T0 arg0,
 T1 arg1)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 ar
g3)
   at IronPython.Runtime.Method.MethodBinding`1.SelfTarget(CallSite site, CodeContext context, Object target, T0 arg0)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)
   at Microsoft.Scripting.Interpreter.DynamicInstruction`4.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
Uncaught exception. Entering post mortem debugging
Running 'cont' or 'step' will restart the program
> <string>(1)<module>()
(Pdb)"-----------------

3. [New comment] Iron Python can't execute SPARK-0.6.1 package
http://ironpython.codeplex.com/workitem/13749
User slide_o_mix has commented on the issue:

"I was able to run the example from SPARK-0.6.1 with 2.7.2.1 with the following

ipy64 main.py main.py

Please update if there is a different test case."-----------------

4. [Status update] Iron Python can't execute SPARK-0.6.1 package
http://ironpython.codeplex.com/workitem/13749
User slide_o_mix has updated the issue:
Status has changed from Active to Closed with the following comment, 

"Works in 2.7.2.1"-----------------

5. [Status update] Integrate Vendor's IronPython Sample Tests into Rowan Test Suite
http://ironpython.codeplex.com/workitem/24034
User slide_o_mix has updated the issue:
Status has changed from Active to Closed with the following comment, 

"Unable to reproduce outside MS"-----------------

6. [Status update] doctest support in cpython regression
http://ironpython.codeplex.com/workitem/23988
User slide_o_mix has updated the issue:
Status has changed from Active to Closed with the following comment, 

"Unable to reproduce outside MS"
----------------------------------------------



----------------------------------------------
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/20120315/e06d5322/attachment.html>


More information about the Ironpython-users mailing list