Hi Stefan, yes, I&#39;m working on this, in fact I&#39;m trying to recompile json module (<a href="http://docs.python.org/library/json.html" target="_blank">http://docs.python.org/library/json.html</a>) adding some type definitions and cython things o get the code faster.<div>


<br></div><div>I&#39;m getting in trouble with some things too, I&#39;m going to enumerate here so that, you could give me some tips about how to solve them.</div><div><br></div><div>1 - Compile package modules - json module is inside a package (files: __init__.py, decoder.py, encoder.py, decoder.py) is there a way to generate the cython modules just like its get generated by cython?</div>


<div><br></div><div>2 - Because I&#39;m getting in trouble with issue #1, I&#39;m running the tests manually, I go to %Python-dir%/Lib/tests/json_tests, get the files corresponding to the tests python make and run manually.</div>


<div><br></div><div>3 - To get the performance of the module, I&#39;m thinking about to use the timeit function in  the unit tests for the project. I think a good number of executions would be made and it would be possible to compare each time.</div>

<div><br></div><div>4 - I didn&#39;t create the .pxd files, some problems are happening, it tells methods are not defined, but, they are defined, I will try to investigate this better</div>
<div><br></div><div>The code is in this repository: <a href="https://github.com/arthursribeiro/JSON-module" target="_blank">https://github.com/arthursribeiro/JSON-module</a> your feedback would be very important, so that I could improve my skills to get more and more able to work sooner in the project.</div>

<div><br></div><div>I think some things implemented in this rewriting process are going to be useful when doing this with C modules...</div><div><br></div><div>Thank you very much.</div>
<div><br></div><div>Best Regards.</div><div><br></div><div>[]s</div><div><br></div><div>Arthur<br><br><div class="gmail_quote">2011/4/12 Stefan Behnel <span dir="ltr">&lt;<a href="mailto:stefan_ml@behnel.de" target="_blank">stefan_ml@behnel.de</a>&gt;</span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Arthur de Souza Ribeiro, 08.04.2011 02:43:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
2011/4/7 Robert Bradshaw<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What I&#39;d like to see is an implementation of a single simple but not<div><br>
entirely trivial (e.g. not math) module, passing regression tests with<br>
comprable if not better speed than the current C version (though I<br>
think it&#39;d probably make sense to start out with the Python version<br>
and optimize that). E.g. <a href="http://docs.python.org/library/json.html" target="_blank">http://docs.python.org/library/json.html</a><br>
looks like a good candidate. That should only take 8 hours or so,<br>
maybe two days at most, given your background. I&#39;m not expecting<br>
anything before the application deadline, but if you could whip<br>
something like this out in the next week to point to that would help<br>
your application out immensely. In fact, one of the Python<br>
foundation&#39;s requirements is that students submit a patch before being<br>
accepted, and this would knock out that requirement and give you a<br>
chance to prove yourself. Create an account on <a href="https://github.com" target="_blank">https://github.com</a> and<br>
commit your code into a new repository there.<br>
</div></blockquote><div>
<br>
I will start the implementation of json module right now. I created my<br>
github account and as soon as I have code implemented I will send repository<br>
link.<br>
</div></blockquote>
<br>
Any news on this? We&#39;re currently discussing which of the Cython-related projects to mentor. It&#39;s likely that not all of our projects will get accepted, so if you could get us a good initial idea about your work, we&#39;d have a stronger incentive to value yours over the others.<br>


<font color="#888888">
<br>
Stefan</font><div><div></div><div><br>
_______________________________________________<br>
cython-devel mailing list<br>
<a href="mailto:cython-devel@python.org" target="_blank">cython-devel@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/cython-devel" target="_blank">http://mail.python.org/mailman/listinfo/cython-devel</a><br>
</div></div></blockquote></div><br></div>