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

Always provide frame for module init function #536

Open
scoder opened this issue Jul 27, 2016 · 0 comments
Open

Always provide frame for module init function #536

scoder opened this issue Jul 27, 2016 · 0 comments

Comments

@scoder
Copy link
Contributor

scoder commented Jul 27, 2016

The namedtuple implementation accesses to the caller's frame to find the module that should define the class (for pickling). Cython does not provide frames by default for performance reasons. Performance is not an issue for the module init function, though, so always providing a frame at module init time would enable some use cases without any real drawbacks.

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