summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-01-15 03:02:37 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-01-15 03:02:37 (GMT)
commitc216df9288d03d43462c87dd9ee2ae3c340376a5 (patch)
tree5ab5cd43a8f75d4dac2f6777e09315b5e78eb453 /Misc
parenta01ed0305885d57731c0be69c7c0b10200e48535 (diff)
downloadcpython-c216df9288d03d43462c87dd9ee2ae3c340376a5.zip
cpython-c216df9288d03d43462c87dd9ee2ae3c340376a5.tar.gz
cpython-c216df9288d03d43462c87dd9ee2ae3c340376a5.tar.bz2
Issue 1820: structseq objects did not work with the % formatting operator or isinstance(t, tuple).
Orignal patch (without tests) by Leif Walsh.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS4
2 files changed, 5 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 2ae4528..2090f85 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -686,6 +686,7 @@ Wojtek Walczak
Charles Waldman
Richard Walker
Larry Wall
+Leif Walsh
Greg Ward
Barry Warsaw
Steve Waterbury
diff --git a/Misc/NEWS b/Misc/NEWS
index 32dab10..048e984 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -975,6 +975,10 @@ Library
Extension Modules
-----------------
+- Issue 1820: structseq objects did not subclass from tuple so they did
+ not pass isinstance(t, tuple) tests and they could not be passed to
+ the % string formatting operator as an input tuple.
+
- _winreg's HKEY object has gained __enter__ and __exit__ methods to support
the context manager protocol. The _winreg module also gained a new function
``ExpandEnvironmentStrings`` to expand REG_EXPAND_SZ keys.