]> granicus.if.org Git - python/commitdiff
Merged revisions 66928,66936,66939-66940 via svnmerge from
authorGeorg Brandl <georg@python.org>
Thu, 16 Oct 2008 21:44:19 +0000 (21:44 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 16 Oct 2008 21:44:19 +0000 (21:44 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66928 | georg.brandl | 2008-10-16 20:20:56 +0000 (Thu, 16 Oct 2008) | 2 lines

  Add more TOC to the whatsnew index page.
........
  r66936 | georg.brandl | 2008-10-16 21:20:15 +0000 (Thu, 16 Oct 2008) | 2 lines

  #4131: FF3 doesn't write cookies.txt files.
........
  r66939 | georg.brandl | 2008-10-16 21:36:39 +0000 (Thu, 16 Oct 2008) | 2 lines

  part of #4012: kill off old name "processing".
........
  r66940 | georg.brandl | 2008-10-16 21:38:48 +0000 (Thu, 16 Oct 2008) | 2 lines

  #4083: add "as" to except handler grammar as per PEP 3110.
........

Doc/library/cookielib.rst
Doc/library/multiprocessing.rst
Doc/reference/compound_stmts.rst
Doc/whatsnew/index.rst

index bf166f660e637b6f78650bac9cd603488f7173cb..022ac13aab9a185aeede3dfaf6d95105256b484a 100644 (file)
@@ -322,6 +322,11 @@ http://wwwsearch.sf.net/ClientCookie/.
    Mozilla ``cookies.txt`` file format (which is also used by the Lynx and Netscape
    browsers).
 
+   .. note::
+
+      Version 3 of the Firefox web browser no longer writes cookies in the
+      ``cookies.txt`` file format.
+
    .. note::
 
       This loses information about RFC 2965 cookies, and also about newer or
index c5901fa57aa99fa33dec5d6a151e220224a5945f..0874a80b87966c069ce5a727b43ddfd06c80baa6 100644 (file)
@@ -378,8 +378,8 @@ The :mod:`multiprocessing` package mostly replicates the API of the
 
    Example usage of some of the methods of :class:`Process`::
 
-       >>> import processing, time, signal
-       >>> p = processing.Process(target=time.sleep, args=(1000,))
+       >>> import multiprocessing, time, signal
+       >>> p = multiprocessing.Process(target=time.sleep, args=(1000,))
        >>> print p, p.is_alive()
        <Process(Process-1, initial)> False
        >>> p.start()
@@ -1781,12 +1781,12 @@ handler type) for messages from different processes to get mixed up.
 
 Below is an example session with logging turned on::
 
-    >>> import processing, logging
-    >>> logger = processing.getLogger()
+    >>> import multiprocessing, logging
+    >>> logger = multiprocessing.getLogger()
     >>> logger.setLevel(logging.INFO)
     >>> logger.warning('doomed')
     [WARNING/MainProcess] doomed
-    >>> m = processing.Manager()
+    >>> m = multiprocessing.Manager()
     [INFO/SyncManager-1] child process calling self.run()
     [INFO/SyncManager-1] manager bound to '\\\\.\\pipe\\pyc-2776-0-lj0tfa'
     >>> del m
index 07947551401a433e68b947305a2d02b7df94e8db..408298d031c2847dccdf8ce858d70b052246ec5b 100644 (file)
@@ -221,7 +221,7 @@ for a group of statements:
 .. productionlist::
    try_stmt: try1_stmt | try2_stmt
    try1_stmt: "try" ":" `suite`
-            : ("except" [`expression` ["," `target`]] ":" `suite`)+
+            : ("except" [`expression` [("as" | ",") `target`]] ":" `suite`)+
             : ["else" ":" `suite`]
             : ["finally" ":" `suite`]
    try2_stmt: "try" ":" `suite`
index b66fd3a1921ffd62f5a4f2860c7f20579a65e38c..f82b58c2fd26d56190b0cebb7cb7b96eab692a3f 100644 (file)
@@ -9,7 +9,7 @@ important changes between major Python versions.  They are a "must read" for
 anyone wishing to stay up-to-date after a new release.
 
 .. toctree::
-   :maxdepth: 1
+   :maxdepth: 2
 
    2.6.rst
    2.5.rst