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 version #40

Open
GijsGroote opened this issue Sep 6, 2022 · 0 comments
Open

Python version #40

GijsGroote opened this issue Sep 6, 2022 · 0 comments

Comments

@GijsGroote
Copy link
Collaborator

GijsGroote commented Sep 6, 2022

Python 3.10 allows dataclasses to become keyword_only, see this

This would allow a base class to handle optional parameters such as color, mass, and orientation and put the functionality in the base class. While child classes can handle required classes such as geometry.

This will lower redundant code.

I think we must now wait for casadi to support python 3.10 as mentioned here casadi/casadi#2877

after that, we could (not should) move toward python 3.10

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

1 participant