]> granicus.if.org Git - python/commit
#6201: Fix test_winreg on Windows:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Tue, 9 Jun 2009 23:08:13 +0000 (23:08 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Tue, 9 Jun 2009 23:08:13 +0000 (23:08 +0000)
commit901f200c81599116e3dc6ffe32b66509bcaf17ce
treec7c7ae9ddb7d7ba1ae1e6b662e2b328d6bae3808
parent03dcc73c1121ebccc49af4cb5ff2d4aa8ca833db
#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.
Doc/whatsnew/2.7.rst
PC/_winreg.c