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

[Discussion] Allow Version to accept ints instead of only a single tuple #4

Open
KSneijders opened this issue May 14, 2023 · 1 comment
Labels
Enhancement New feature or request

Comments

@KSneijders
Copy link
Contributor

KSneijders commented May 14, 2023

What do you think about allowing the following:

Version(3, 5, 1, 47)

Instead of the current:

Version((3, 5, 1, 47))

Or, maybe even:

Version("3.5.1.47")
@Divy1211
Copy link
Owner

Divy1211 commented Sep 9, 2023

Currently, Version subclasses tuple which prevents the constructor signature from being modified. To do that, a lot of tuple functionality will need to be manually implemented. This might be added in the future, but atm is not a priority.

@Divy1211 Divy1211 added the Enhancement New feature or request label Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants