<div dir="ltr">Hi,<div><br></div><div style>Why are you trying to do this? The translator doesn't handle random Python, only RPython.</div><div style><br></div><div style>Alex</div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Sun, Feb 24, 2013 at 8:48 AM, Ghitulete Razvan <span dir="ltr"><<a href="mailto:razvan.ghitulete@gmail.com" target="_blank">razvan.ghitulete@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,<div><br></div><div>I've been trying for some time now to translate python code into C. After playing around with the pypy interactive translator shell and worked just fine. But the I tried to translate the pypy benchmarks from <a href="http://speed.pypy.org" target="_blank">speed.pypy.org</a> into C code, but I seem to be running into all kinds of trouble.</div>

<div><br></div><div>So far I've tried with bm_ai.py which seems to fail because it uses closures(or so i'm told by the translator), and bm_threading.py seems to fail while processing threading.py. Is there something I'm doing wrong?</div>

<div><br></div><div>P.S.: I'm simply running the translator.py script with -s option on slightly modified versions of the above mentioned files(adding an entry point).<span class="HOEnZb"><font color="#888888"><br clear="all">
<div><br></div>-- <br><div dir="ltr">
<div>Sincerely, </div>Razvan Ghitulete<br>Universitatea Politehnica Bucuresti</div>
</font></span></div></div>
<br>_______________________________________________<br>
pypy-dev mailing list<br>
<a href="mailto:pypy-dev@python.org">pypy-dev@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/pypy-dev" target="_blank">http://mail.python.org/mailman/listinfo/pypy-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>"I disapprove of what you say, but I will defend to the death your right to say it." -- Evelyn Beatrice Hall (summarizing Voltaire)<br>"The people's good is the highest law." -- Cicero<br>

</div>