aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/windows/dll/hello-world.cpp
diff options
context:
space:
mode:
authorGravatar laurentlb <laurentlb@google.com>2017-06-13 23:08:06 +0200
committerGravatar Yun Peng <pcloudy@google.com>2017-06-14 13:17:16 +0200
commit9d5c0a0eb26ab17d152f0cb8281cbc94e9377776 (patch)
tree3225658de8732609fb4aa4f6ed3b2e8344987a55 /examples/windows/dll/hello-world.cpp
parente0e0071b6b34594f3d283dfff446d572c24539dd (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-world.cpp')
0 files changed, 0 insertions, 0 deletions