summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-01-08 15:46:10 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-01-08 15:46:10 (GMT)
commitb39a756afd08a2261dffe2b649f3a3550fb6294f (patch)
treefbfd9f8215dcddc0ff66b3cf935409d7aa1e60f9 /Misc
parent41f278ffa5babb0e704c9331030a58937a398902 (diff)
downloadcpython-b39a756afd08a2261dffe2b649f3a3550fb6294f.zip
cpython-b39a756afd08a2261dffe2b649f3a3550fb6294f.tar.gz
cpython-b39a756afd08a2261dffe2b649f3a3550fb6294f.tar.bz2
Added __enter__ and __exit__ functions to HKEY object
Added ExpandEnvironmentStrings to the _winreg module.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index e1745a7..c77ce62 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -944,6 +944,10 @@ Library
Extension Modules
-----------------
+- _winreg's HKEY object have gained __enter__ and __exit__ functions to support he
+ context manager protocol. The _winreg module also got a new function
+ ``ExpandEnvironmentStrings`` to expand REG_EXPAND_SZ keys.
+
- Issue #1646: Make socket support TIPC. The socket module now has support
for TIPC under Linux, see http://tipc.sf.net/ for more information.