[Python-checkins] cpython: asyncio: remove references to the Tulip project, rename Tulip to asyncio.
victor.stinner
python-checkins at python.org
Fri Dec 13 10:57:24 CET 2013
http://hg.python.org/cpython/rev/10378199e37b
changeset: 87927:10378199e37b
user: Victor Stinner <victor.stinner at gmail.com>
date: Fri Dec 13 10:57:04 2013 +0100
summary:
asyncio: remove references to the Tulip project, rename Tulip to asyncio.
Patch written by Vajrasky Kok.
files:
Doc/library/asyncio-sync.rst | 2 +-
Doc/whatsnew/3.4.rst | 5 +++++
Lib/asyncio/queues.py | 2 +-
Lib/asyncio/test_utils.py | 2 +-
4 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/Doc/library/asyncio-sync.rst b/Doc/library/asyncio-sync.rst
--- a/Doc/library/asyncio-sync.rst
+++ b/Doc/library/asyncio-sync.rst
@@ -237,7 +237,7 @@
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.
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -1068,3 +1068,8 @@
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).
+
diff --git a/Lib/asyncio/queues.py b/Lib/asyncio/queues.py
--- a/Lib/asyncio/queues.py
+++ b/Lib/asyncio/queues.py
@@ -26,7 +26,7 @@
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.
"""
diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py
--- a/Lib/asyncio/test_utils.py
+++ b/Lib/asyncio/test_utils.py
@@ -88,7 +88,7 @@
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):
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list