-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed
Labels
P1I'll work on this now. (Assignee required)I'll work on this now. (Assignee required)incompatible-changeIncompatible/breaking changeIncompatible/breaking change
Description
Historically, octal numbers in Starlark were written 0123 (like in Python 2 and C). Two years ago, we added support for the 0o123 notation which is more explicit. Now is time to remove the old notation.
- var = 0123
+ var = 0o123We expect most users won't even notice the change:
- Octal numbers are very rarely used (one use-case is for Unix prmissions, e.g.
permissions = 0o755). - Buildifier is already updating numbers to the new style
Flag added: Bazel 0.26
Flag flipped: Bazel 0.27 (expected)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1I'll work on this now. (Assignee required)I'll work on this now. (Assignee required)incompatible-changeIncompatible/breaking changeIncompatible/breaking change