<div dir="ltr"><div class="gmail_quote">On Tue, May 10, 2011 at 3:53 AM, Antonio Cuni <span dir="ltr">&lt;<a href="mailto:anto.cuni@gmail.com">anto.cuni@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 10/05/11 00:36, cool-RR wrote:<br>
&gt; Is it true that Pypy can&#39;t import a `.pyc` file?<br>
<br>
</div>yes, by default pyc files which don&#39;t have the corresponding py file are ignored.<br>
<br>
You can change the behavior by translating pypy by yourself and using the<br>
--objspace-lonepycfiles option:<br>
<br>
$ ./translate.py -Ojit targetpypystandalone --objspace-lonepycfiles<br>
<br>
ciao,<br>
Anto<br>
</blockquote></div><br>Is it possible to make an existing Pypy installation accept lone pyc files with some flag or something?<br clear="all"><br><div><br></div><div>Ram.<br>
</div></div>