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

enable more builtins #874

Open
dlech opened this issue Dec 23, 2022 · 3 comments
Open

enable more builtins #874

dlech opened this issue Dec 23, 2022 · 3 comments
Labels
enhancement New feature or request software: pybricks-micropython Issues with Pybricks MicroPython firmware (or EV3 runtime) topic: MicroPython Issues related to the MicroPython programming language

Comments

@dlech
Copy link
Member

dlech commented Dec 23, 2022

I was coding today and wanted to use filter but it is not enabled.

We've also considered enabling set in the past. #402

For people writing classes, they may also expect property to be enabled.

memoryview and frozenset are also currently disabled, but I can't think of any compelling use case for enabling them.

@dlech dlech added enhancement New feature or request software: pybricks-micropython Issues with Pybricks MicroPython firmware (or EV3 runtime) topic: MicroPython Issues related to the MicroPython programming language labels Dec 23, 2022
@dlech
Copy link
Member Author

dlech commented Dec 27, 2022

The 2-arg version of next() is potentially useful for parallel tasks using generators.

@dlech
Copy link
Member Author

dlech commented Jan 23, 2023

The gc module may be potentially useful for getting more constant loop times.

@apumapho
Copy link
Sponsor

@dlech, +1 for set being somewhat valuable for use cases where people are trying to maintain unique lists of things and not having to maintain uniqueness themselves

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request software: pybricks-micropython Issues with Pybricks MicroPython firmware (or EV3 runtime) topic: MicroPython Issues related to the MicroPython programming language
Projects
None yet
Development

No branches or pull requests

2 participants