diff options
author | 2017-06-13 23:08:06 +0200 | |
---|---|---|
committer | 2017-06-14 13:17:16 +0200 | |
commit | 9d5c0a0eb26ab17d152f0cb8281cbc94e9377776 (patch) | |
tree | 3225658de8732609fb4aa4f6ed3b2e8344987a55 /examples/windows/dll/hello-library.cpp | |
parent | e0e0071b6b34594f3d283dfff446d572c24539dd (diff) |
Introduce --incompatible_comprehension_variables_do_not_leak
When the flag is activated, variables in list comprehensions do not leak anymore.
Even if a variable was defined before the loop, it's not accessible after the loop.
This change allows us to detect any breakage and ensures that no user is accessing
loop variables after the loop.
This will make possible for us to change the behavior and follow Python 3 semantics
in the future.
RELNOTES: None.
PiperOrigin-RevId: 158895514
Diffstat (limited to 'examples/windows/dll/hello-library.cpp')
0 files changed, 0 insertions, 0 deletions