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

closures for module scope #868

Closed
robertwb opened this issue May 3, 2009 · 2 comments
Closed

closures for module scope #868

robertwb opened this issue May 3, 2009 · 2 comments

Comments

@robertwb
Copy link
Contributor

robertwb commented May 3, 2009

Function closure support has been implemented as of ticket http://trac.cython.org/ticket/82. The same mechanism is required for the module scope to support generator expressions and lambda expressions at the module level, and might be a suitable base to implement PEP 3121 support as of tickets http://trac.cython.org/ticket/173 and http://trac.cython.org/ticket/218.

At 2010-11-27T08:26:08Z @vitek added attachment lambda-module-scope.patch

Migrated from http://trac.cython.org/ticket/308

@robertwb
Copy link
Contributor Author

robertwb commented Nov 27, 2010

scoder commented

Lambda patch moved to ticket http://trac.cython.org/ticket/603.

@da-woods
Copy link
Contributor

Generators at the module scope currently seem to work (module scope variables are looked up, rather than captured, but this is right I think)

@da-woods da-woods modified the milestones: wishlist, 3.0 Apr 19, 2021
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

2 participants