IronLanguages / main

Work for this repo has moved to https://github.com/IronLanguages/ironpython2
1.16k stars 348 forks source link

IronPython 2.6 not finding a .pyc file. #1031

Closed ironpythonbot closed 8 years ago

ironpythonbot commented 9 years ago

I'm very new to IronPython. I was able to download v2.6 and call some basic functions from C#. The problem I have is that one function imports a .pyc module provided by a third-party. So there is no .py available.

Is there a solution for IronPython to work with modules ( .py ) that references another module that is .pyc format? If so, could you provide how to?

Thanks in advance.

Work Item Details

Original CodePlex Issue: Issue 33067 Status: Proposed Reason Closed: Unassigned Assigned to: Unassigned Reported on: Aug 26, 2012 at 3:13 AM Reported by: shaggygi97 Updated on: Feb 22, 2013 at 2:08 AM Updated by: MarkusSchaber

ironpythonbot commented 9 years ago

On 2012-08-27 00:13:03 UTC, slide_o_mix commented:

ironpython does not currently support pyc files.

ironpythonbot commented 9 years ago

On 2012-08-27 02:18:32 UTC, shaggygi97 commented:

well blame! do you know if there are plans to add this?

thanks for the help.

ironpythonbot commented 9 years ago

On 2012-08-27 09:16:16 UTC, CurtHagenlocher commented:

If you use a search engine, you can find various options to try. For example, I found

http://stackoverflow.com/questions/48211/free-python-decompiler-that-is-not-an-online-service?rq=1

ironpythonbot commented 9 years ago

On 2012-08-27 09:59:07 UTC, slide_o_mix commented:

I am looking at supporting byte code execution for a future version.

ironpythonbot commented 9 years ago

On 2012-08-27 15:11:56 UTC, MarkusSchaber commented:

pyc files are implementation version dependent - even cPython does not allow pyc files to be re-used across different versions.

slide commented 8 years ago

This is a duplicate of other issues.