You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think, this issue is closely related to #303. In this issue, I present the idea of an (overloaded) semver.version function which acts as a wrapper for all different types. So I guess, we have a third option here which we should discuss. 😉
Regardless of the constructor/initializer or the semver.version function, renaming VersionInfo to Version is okay to me as long as we have an alias (something like VersionInfo = Version which also outputs a deprecation warning when used).
Activity
Rename VersionInfo to Version to close python-semver#305
tomschr commentedon Oct 30, 2020
Thanks for opening this. 👍
I think, this issue is closely related to #303. In this issue, I present the idea of an (overloaded)
semver.versionfunction which acts as a wrapper for all different types. So I guess, we have a third option here which we should discuss. 😉Regardless of the constructor/initializer or the
semver.versionfunction, renaming VersionInfo to Version is okay to me as long as we have an alias (something likeVersionInfo = Versionwhich also outputs a deprecation warning when used).Create semver package