summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-02-04 20:26:18 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-02-04 20:26:18 (GMT)
commitc9213f5849d50bd5eadd8ba3622644881b47403a (patch)
treefad108d1140de4f4baccae33f2c3e30340b9ca4a /Misc
parenta5b2873aef988934fb83d36745bd5f54e65b2dca (diff)
downloadcpython-c9213f5849d50bd5eadd8ba3622644881b47403a.zip
cpython-c9213f5849d50bd5eadd8ba3622644881b47403a.tar.gz
cpython-c9213f5849d50bd5eadd8ba3622644881b47403a.tar.bz2
Merged revisions 77972 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r77972 | antoine.pitrou | 2010-02-04 21:23:24 +0100 (jeu., 04 févr. 2010) | 12 lines Merged revisions 77970 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r77970 | antoine.pitrou | 2010-02-04 21:20:18 +0100 (jeu., 04 févr. 2010) | 6 lines Issue #4772: Raise a ValueError when an unknown Bluetooth protocol is specified, rather than fall through to AF_PACKET (in the `socket` module). Also, raise ValueError rather than TypeError when an unknown TIPC address type is specified. Patch by Brian Curtin. ........ ................
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index d4a136a..9b72293 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -79,6 +79,11 @@ Core and Builtins
Library
-------
+- Issue #4772: Raise a ValueError when an unknown Bluetooth protocol is
+ specified, rather than fall through to AF_PACKET (in the `socket` module).
+ Also, raise ValueError rather than TypeError when an unknown TIPC address
+ type is specified. Patch by Brian Curtin.
+
- Issue #6939: Fix file I/O objects in the `io` module to keep the original
file position when calling `truncate()`. It would previously change the
file position to the given argument, which goes against the tradition of