commit | 901f200c81599116e3dc6ffe32b66509bcaf17ce | [log] [tgz] |
---|---|---|
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Tue Jun 09 23:08:13 2009 +0000 |
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Tue Jun 09 23:08:13 2009 +0000 |
tree | c7c7ae9ddb7d7ba1ae1e6b662e2b328d6bae3808 | |
parent | 03dcc73c1121ebccc49af4cb5ff2d4aa8ca833db [diff] |
#6201: Fix test_winreg on Windows: since the introduction of the SETUP_WITH opcode, __enter__ and __exit__ methods must belong to the type, and are not retrieved at the instance level (__dict__ or __getattr__). Add a note in whatsnew about this incompatibility; old style classes are not affected.