summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2008-04-15 02:24:15 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2008-04-15 02:24:15 (GMT)
commit04f58760d7c07575e5bd3a01b8c8cacd8a119074 (patch)
tree681ccbd53e1ec4b96e8d8b687518c3284c7c746d /Doc/whatsnew
parentbcdc4685ba3ee470f5a4ddc85244b3f86a61ff4d (diff)
downloadcpython-04f58760d7c07575e5bd3a01b8c8cacd8a119074.zip
cpython-04f58760d7c07575e5bd3a01b8c8cacd8a119074.tar.gz
cpython-04f58760d7c07575e5bd3a01b8c8cacd8a119074.tar.bz2
Various items; begin writing the SSL section
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/2.6.rst25
1 files changed, 17 insertions, 8 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst
index ea330bb..74a331a 100644
--- a/Doc/whatsnew/2.6.rst
+++ b/Doc/whatsnew/2.6.rst
@@ -825,7 +825,8 @@ their own implementations of buffering and text I/O.
:pep:`3116` - New I/O
PEP written by Daniel Stutzbach, Mike Verdone, and Guido van Rossum.
- XXX code written by who?
+ Code by Guido van Rossum, Georg Brandl, Walter Doerwald,
+ Jeremy Hylton, Martin von Loewis, Tony Lownds, and others.
.. ======================================================================
@@ -1096,8 +1097,6 @@ This is equivalent to::
A = foo(bar(A))
-XXX need to find a good motivating example.
-
.. seealso::
:pep:`3129` - Class Decorators
@@ -1854,6 +1853,10 @@ complete list of changes, or look through the CVS logs for all the details.
environments. TIPC addresses are 4- or 5-tuples.
(Contributed by Alberto Bertogli; :issue:`1646`.)
+ A new function, :func:`create_connection`, takes an address
+ and connects to it using an optional timeout value, returning
+ the connected socket object.
+
* The base classes in the :mod:`SocketServer` module now support
calling a :meth:`handle_timeout` method after a span of inactivity
specified by the server's :attr:`timeout` attribute. (Contributed
@@ -2042,15 +2045,21 @@ Improved SSL Support
--------------------------------------------------
Bill Janssen made extensive improvements to Python 2.6's support for
-SSL.
-
-XXX use ssl.sslsocket - subclass of socket.socket.
+the Secure Sockets Layer by adding a new module, :mod:`ssl`, on top of
+the `OpenSSL <http://www.openssl.org/>`__ library. This new module
+provides more control over the protocol negotiated, the X.509
+certificates used, and has better support for writing SSL servers (as
+opposed to clients) in Python. The existing SSL support in the
+:mod:`socket` module hasn't been removed and continues to work,
+though it will be removed in Python 3.0.
+
+To use the new module, first you must create a TCP connection in the
+usual way and then pass it to the :func:`ssl.wrap_socket` function.
+XXX describe parameters.
XXX Can specify if certificate is required, and obtain certificate info
by calling getpeercert method.
-XXX sslwrap() behaves like socket.ssl
-
XXX Certain features require the OpenSSL package to be installed, notably
the 'openssl' binary.