Hi ironpython,
Here's your Daily Digest of new issues for project "IronPython".
In today's digest:ISSUES
1. [New issue] Failure in compiled module vs directly run
2. [New comment] Failure in compiled module vs directly run
3. [New comment] Failure in compiled module vs directly run
----------------------------------------------
ISSUES
1. [New issue] Failure in compiled module vs directly run
http://ironpython.codeplex.com/workitem/33341
User ndevenish has proposed the issue:
"I've found a problem that only seems to happen when importing from a pyc
compiled assembly, but does not show when importing the script directly.
Attached is as far as I have managed to reduce a simple test case to (I first
came across this in SQLAlchemy).
Running directly (or, opening the repl and then importing manually):
$ ipy testipy.py
Works fine, but compiling with pyc (assuming you have an alias):
$ pyc /out:TestIPy testily.py
And then running the script:
import clr
clr.AddReferenceToFileAndPath("TestIPy.dll")
import testipy
Gives the following traceback:
File "runtest.py", line 3, in
File "testipy", line 3, in
File "testipy", line 14, in _decorate_with_warning
File "testipy", line 7, in decorate
File "c:\Program Files\IronPython 2.7\Lib\inspect.py", line 820, in
getargspec
File "c:\Program Files\IronPython 2.7\Lib\inspect.py", line 762, in
getargs
IndexError: index out of range: 2"-----------------
2. [New comment] Failure in compiled module vs directly run
http://ironpython.codeplex.com/workitem/33341
User ndevenish has commented on the issue:
"Comment that I've added this in response to a request by Jeff Hardy on the
mailing list."-----------------
3. [New comment] Failure in compiled module vs directly run
http://ironpython.codeplex.com/workitem/33341
User ndevenish has commented on the issue:
"Attached issue description as an attachment, because Codeplex doesn't appear
to have discovered what a double quote or newline is. Baby steps, MS, Baby
steps."
----------------------------------------------
----------------------------------------------
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.
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
http://mail.python.org/mailman/listinfo/ironpython-users