diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2007-02-26 18:41:18 +0000 |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2007-02-26 18:41:18 +0000 |
commit | 759410b372915be0de2a225d7fc6b71dcfae6db3 (patch) | |
tree | e0a670017cde5e0b337ff574deae09daa9ff4c92 /Python/errors.c | |
parent | 7b7d1c8282fa2599e2f132c401defde3c9b42e3f (diff) | |
download | cpython-git-759410b372915be0de2a225d7fc6b71dcfae6db3.tar.gz |
Do not copy free variables to locals in class namespaces.
Fixes bug 1569356, but at the cost of a minor incompatibility in
locals(). Add test that verifies that the class namespace is not
polluted. Also clarify the behavior in the library docs.
Along the way, cleaned up the dict_to_map and map_to_dict
implementations and added some comments that explain what they do.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions