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

source.importable fails for double-lambdas #38

Closed
mmckerns opened this issue May 12, 2014 · 1 comment
Closed

source.importable fails for double-lambdas #38

mmckerns opened this issue May 12, 2014 · 1 comment
Labels

Comments

@mmckerns
Copy link
Member

Works when doit and squared are defined in a file. Misidentifies squared when they are built in the interpreter.

>>> doit = lambda f: lambda x: f(x)**2
>>> @doit
... def squared(x):
...   return x
... 
@mmckerns mmckerns added the bug label May 14, 2014
@mmckerns
Copy link
Member Author

fixed, I think, in ceeb2bb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant