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

Fix accessing imported modules’ globals in list comprehensions #514

Closed

Conversation

minitech
Copy link

What I hope is a correct fix for a bug I encountered with this code:

import sys

bwt = [
    "" if c == "$" else c
    for c in sys.argv[1]
]
burrow.codon:42:14-25: error: name 'argv' is not defined

Copy link

cla-bot bot commented Dec 18, 2023

Thank you for your pull request. We require contributors to agree to our Contributor License Agreement (https://exaloop.io/cla.txt), and we don't have @minitech on file. In order for us to review and merge your code, please email info@exaloop.io to get yourself added.

@minitech
Copy link
Author

@cla-bot check

@cla-bot cla-bot bot added the cla-signed label Dec 19, 2023
Copy link

cla-bot bot commented Dec 19, 2023

The cla-bot has been summoned, and re-checked this pull request!

@inumanag
Copy link
Contributor

Thank you for this! I have merged it to #515.

@inumanag inumanag closed this Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants