-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(math,time): replace math & time modules with Starlark upstre…
…am versions After a *large* community effort, we've successfully moved two packages from starlib into the "real" standard library in go-starlark: * math: google/starlark-go#357 * time: google/starlark-go#327 In addition, both time & math imports have lost thier ".star" suffixes: load("time.star", "time") -> load("time", "time") load("math.star, "math") -> load("math", "math") Both of these packages have had a great deal of vetting & improvement in the process of migrating. While this does introduce many breaking changes for both packages, both packages have better stability & performance characteristics. Moving forward, we'll try to follow the pattern of developing & testing packages here, and for those deemed worthy, move them up into go-starlark. Once a package lands there, we'll switch starlib to being a strict import-and-document-only, which effectively locks their API. Keeping package APIs locked will cut down on drift, benefitting the broader starlark ecosystem. BREAKING CHANGE: math & time modules have been overhauled. Refer to package documentation for details
- Loading branch information
Showing
17 changed files
with
256 additions
and
1,073 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.