Skip to content
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

Compatibility with older Cython modules compiled with C-Python #168

Closed
akruis opened this issue Aug 16, 2018 · 3 comments
Closed

Compatibility with older Cython modules compiled with C-Python #168

akruis opened this issue Aug 16, 2018 · 3 comments

Comments

@akruis
Copy link

akruis commented Aug 16, 2018

There are many extension modules created by Cython versions before commit 037bcf0 and compiled with regular C-Python. These modules call PyEval_EvalFrameEx() with a broken frame object. See #166 (comment) for details.

Fortunately it turned out, that I can modify Stackless to work around this problem. This enhancment adds code to recover a broken frame in PyEval_EvalFrameEx().

@akruis
Copy link
Author

akruis commented Aug 16, 2018

Created pull request #169 for 2.7-slp.

@akruis
Copy link
Author

akruis commented Aug 16, 2018

And pull request #170 for master-slp.

akruis pushed a commit that referenced this issue Sep 3, 2018
…es (#169)

Many extension modules were created by Cython versions before commit
037bcf0 and were compiled with regular C-Python. These modules call
PyEval_EvalFrameEx() with a broken frame object.
This commit add code to recover a broken frame in PyEval_EvalFrameEx().
akruis pushed a commit that referenced this issue Sep 3, 2018
…es (#170)

Many extension modules were created by Cython versions before commit
037bcf0 and were compiled with regular C-Python. These modules call
PyEval_EvalFrameEx() with a broken frame object.
This commit add code to recover a broken frame in PyEval_EvalFrameEx().
akruis pushed a commit that referenced this issue Sep 3, 2018
…es (#170)

Many extension modules were created by Cython versions before commit
037bcf0 and were compiled with regular C-Python. These modules call
PyEval_EvalFrameEx() with a broken frame object.
This commit add code to recover a broken frame in PyEval_EvalFrameEx().

(cherry picked from commit f9094d2)
akruis pushed a commit that referenced this issue Sep 3, 2018
…es (#170)

Many extension modules were created by Cython versions before commit
037bcf0 and were compiled with regular C-Python. These modules call
PyEval_EvalFrameEx() with a broken frame object.
This commit add code to recover a broken frame in PyEval_EvalFrameEx().

(cherry picked from commit f9094d2)
@akruis
Copy link
Author

akruis commented Sep 3, 2018

Fixed for 2.7-slp, 3.5-slp, 3.6-slp and master-slp.

@akruis akruis closed this as completed Sep 3, 2018
@akruis akruis mentioned this issue Sep 18, 2018
4 tasks
akruis pushed a commit that referenced this issue Mar 9, 2019
…ows AMD64 (GH-168) (pythonGH-8625)

Fixed bpo-29565: Corrected ctypes passing of large structs by value.

Added code and test to check that when a structure passed by value
is large enough to need to be passed by reference, a copy of the
original structure is passed. The callee updates the passed-in value,
and the test verifies that the caller's copy is unchanged. A similar
change was also added to the test added for bpo-20160 (that test was
passing, but the changes should guard against regressions).

(cherry picked from commit a86339b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant