commit | 759410b372915be0de2a225d7fc6b71dcfae6db3 | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Mon Feb 26 18:41:18 2007 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Mon Feb 26 18:41:18 2007 +0000 |
tree | e0a670017cde5e0b337ff574deae09daa9ff4c92 | |
parent | 7b7d1c8282fa2599e2f132c401defde3c9b42e3f [diff] |
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.