diff options
author | 2017-06-21 18:59:26 +0200 | |
---|---|---|
committer | 2017-06-22 12:35:45 +0200 | |
commit | 71c6aa89d73c811c35b42096c63b6f06ea92e20e (patch) | |
tree | 2e42748e4e8025abd0dbe948e5c4da507f2fa45e /site/docs/skylark | |
parent | 36da18a6c8f4e9281eca1c9643a59fe16ab03c7c (diff) |
Delete the 'upcoming' changes section.
It's partially redundant with the 'Backward-incompatible changes' section.
RELNOTES: None.
PiperOrigin-RevId: 159705909
Diffstat (limited to 'site/docs/skylark')
-rw-r--r-- | site/docs/skylark/concepts.md | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/site/docs/skylark/concepts.md b/site/docs/skylark/concepts.md index 0ce1c915d8..2fc0333e74 100644 --- a/site/docs/skylark/concepts.md +++ b/site/docs/skylark/concepts.md @@ -254,38 +254,6 @@ sorted(deps.to_list()) # recommended * Flag: `--incompatible_depset_is_not_iterable` * Default: `false` -## Upcoming changes - -The following items are upcoming changes. - -* Comprehensions currently "leak" the values of their loop variables into the - surrounding scope (Python 2 semantics). This will be changed so that - comprehension variables are local (Python 3 semantics). - -* Previously dictionaries were guaranteed to use sorted order for their keys. - Going forward, there is no guarantee on order besides that it is - deterministic. As an implementation matter, some kinds of dictionaries may - continue to use sorted order while others may use insertion order. - -These changes concern the `load()` syntax in particular. - -* Currently a `load()` statement can appear anywhere in a file so long as it is - at the top-level (not in an indented block of code). In the future they will - be required to appear at the beginning of the file, i.e., before any - non-`load()` statement. - -* In BUILD files, `load()` can overwrite an existing variable with the loaded - symbol. This will be disallowed in order to improve consistency with .bzl - files. Use load aliases to avoid name clashes. - -* The .bzl file can be specified as either a path or a label. In the future only - the label form will be allowed. - -* Cross-package visibility restrictions do not yet apply to loaded .bzl files. - At some point this will change. In order to load a .bzl from another package - it will need to be exported, such as by using an `exports_files` declaration. - The exact syntax has not yet been decided. - ## Profiling the code |