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

[Python] enumerate built-in function is not defined #415

Closed
bisam69 opened this issue Apr 26, 2018 · 4 comments
Closed

[Python] enumerate built-in function is not defined #415

bisam69 opened this issue Apr 26, 2018 · 4 comments

Comments

@bisam69
Copy link

bisam69 commented Apr 26, 2018

The 'enumerate' function which is part of Python since version 2.3 and also part of Micropython 1.9.3 as shown here seems to have been forgotten on calc.

@adriweb
Copy link
Contributor

adriweb commented Apr 26, 2018

Looks like it's this config line (there are interesting things around it as well), to set to 1:

#define MICROPY_PY_BUILTINS_ENUMERATE (0)

@Ecco
Copy link
Contributor

Ecco commented Apr 30, 2018

That's a good catch. Thanks @bisam69 !

@adriweb
Copy link
Contributor

adriweb commented May 29, 2018

@Ecco after #521 can this be done?

@Ecco
Copy link
Contributor

Ecco commented Jul 2, 2018

It's all good 😄

@Ecco Ecco closed this as completed Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants