New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move result_code from analysis to generation #626
Comments
@dagss changed summary from Move generation of result_code string from to Move result_code string from analysis to generation |
@dagss changed summary from Move result_code string from analysis to generation to Move result_code from analysis to generation |
@dagss commented The relevant Pyrex commit is here: |
@dagss changed owner from |
@dagss changed owner from |
@robertwb changed milestone from This has been done in http://hg.cython.org/cython-devel/rev/eedadcc8c22c |
@robertwb commented Note that temp allocation is still done in the analysis phase, see http://trac.cython.org/ticket/77 for moving it to code generation. |
In Pyrex, rather than the
result_code
being filled in at analysis time, there's aresult()
method being called during code generation. Moving filling ; then the result temp can be allocated usingCodeWriter
and so on.See Greg Ewing's posts in this thread].
A lot of things are blocked by this:
My personal opinion is that the workarounds will only pile up, while a change like this could potentially be done without too much trouble and would make it possible to start streamlining some code (especially stop worrying about figuring out workarounds for new code).
Migrated from http://trac.cython.org/ticket/67
The text was updated successfully, but these errors were encountered: