diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2017-12-03 13:32:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-03 13:32:54 (GMT) |
commit | c8f32aae0aa173e122cf4c0592caec620d0d1de9 (patch) | |
tree | a12510b536a9b6bb07c9370c3ef1eb89144dc991 /Tools/scripts/parse_html5_entities.py | |
parent | 2ad350a713360e89ae6d264924cd28f519b8b22c (diff) | |
download | cpython-c8f32aae0aa173e122cf4c0592caec620d0d1de9.zip cpython-c8f32aae0aa173e122cf4c0592caec620d0d1de9.tar.gz cpython-c8f32aae0aa173e122cf4c0592caec620d0d1de9.tar.bz2 |
[3.6] bpo-32176: Set CO_NOFREE in the code object constructor (GH-4684)
Previously, CO_NOFREE was set in the compiler, which meant
it could end up being set incorrectly when code objects
were created directly. Setting it in the constructor based
on freevars and cellvars ensures it is always accurate,
regardless of how the code object is defined.
(cherry picked from commit 078f1814f1a4413a2a0fdb8cf4490ee0fc98ef34)
Diffstat (limited to 'Tools/scripts/parse_html5_entities.py')
0 files changed, 0 insertions, 0 deletions