]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
asyncio: remove references to the Tulip project, rename Tulip to asyncio.
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 13 Dec 2013 09:57:04 +0000 (10:57 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 13 Dec 2013 09:57:04 +0000 (10:57 +0100)
Patch written by Vajrasky Kok.

Doc/library/asyncio-sync.rst
Doc/whatsnew/3.4.rst
Lib/asyncio/queues.py
Lib/asyncio/test_utils.py

index e6d2dd967e033ba4744cc72da613d2bbfbc85555..aaa8b93ccca1bc8ff88312157ba9714cf72de100 100644 (file)
@@ -237,7 +237,7 @@ Queues
    when the queue reaches *maxsize*, until an item is removed by :meth:`get`.
 
    Unlike the standard library :mod:`queue`, you can reliably know this Queue's
-   size with :meth:`qsize`, since your single-threaded Tulip application won't
+   size with :meth:`qsize`, since your single-threaded asyncio application won't
    be interrupted between calling :meth:`qsize` and doing an operation on the
    Queue.
 
index 5d360c4d51592672dbfb3bf52d98ae8f5496f0e4..8fe906be218bb2500b79ad920a4ba024f8a35830 100644 (file)
@@ -1068,3 +1068,8 @@ that may require changes to your code.
   working directory will also now have an absolute path, including when using
   ``-m`` with the interpreter (this does not influence when the path to a file
   is specified on the command-line).
+
+* (C API) :c:func:`PyThread_set_key_value` now always set the value. In Python
+  3.3, the function did nothing if the key already exists (if the current
+  value is a non-NULL pointer).
+
index 3f5bf4479e60833049ac547cb74fd437054f484c..e900278fb7f6e9fd79f77590fddc5e595505e831 100644 (file)
@@ -26,7 +26,7 @@ class Queue:
     queue reaches maxsize, until an item is removed by get().
 
     Unlike the standard library Queue, you can reliably know this Queue's size
-    with qsize(), since your single-threaded Tulip application won't be
+    with qsize(), since your single-threaded asyncio application won't be
     interrupted between calling qsize() and doing an operation on the Queue.
     """
 
index 4c658da37bd6e0907cc47474daba36a2c6216d85..ccb445418d5397ec06b0f75b6a48f1dbde4c8497 100644 (file)
@@ -88,7 +88,7 @@ def run_test_server(*, host='127.0.0.1', port=0, use_ssl=False):
         def finish_request(self, request, client_address):
             # The relative location of our test directory (which
             # contains the ssl key and certificate files) differs
-            # between the stdlib and stand-alone Tulip/asyncio.
+            # between the stdlib and stand-alone asyncio.
             # Prefer our own if we can find it.
             here = os.path.join(os.path.dirname(__file__), '..', 'tests')
             if not os.path.isdir(here):