Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Renamed to txpostgres to avoid trademark issues with Twisted

  • Loading branch information...
commit b2b549aa3060f9c8b4efcc6a31a275b74df32b56 1 parent 2fc3fad
Erik Allik authored
View
1  README
View
4 README.rst
@@ -4,9 +4,9 @@ Coroutine flow control
Description
-----------
-Generators wrapped with ``@twisted_coroutine.coroutine`` are otherwise identical to those wrapped with
+Generators wrapped with ``@txcoroutine.coroutine`` are otherwise identical to those wrapped with
``@twisted.internet.defer.inlineCallbacks``, however, the object returned by it is an instance of
-``twisted_coroutine.Coroutine`` which is a subclass of ``twisted.internet.defer.Deferred``.
+``txcoroutine.Coroutine`` which is a subclass of ``twisted.internet.defer.Deferred``.
``Coroutine`` objects provide an API otherwise identical to that of ``Deferred`` objects, however, calling ``pause``,
``unpause`` or ``cancel`` on ``Coroutine`` objects transparently applies the same action on all nested ``Deferred``
View
5 setup.py
@@ -4,7 +4,7 @@
long_description = file.read()
setup(
- name="twisted-coroutine",
+ name="txcoroutine",
long_description=long_description,
version="1.0.6",
packages=find_packages(),
@@ -15,6 +15,5 @@
author="Erik Allik",
author_email="eallik@gmail.com",
- url="http://github.com/eallik/twisted-coroutine/"
+ url="http://github.com/eallik/txcoroutine/"
)
-
View
2  tests.py
@@ -5,7 +5,7 @@
from twisted.internet.defer import Deferred, returnValue, fail, succeed, CancelledError
-from twisted_coroutine import noreturn, coroutine
+from txcoroutine import noreturn, coroutine
# from unnamedframework.util.testing import assert_raises, deferred_result, assert_not_raises
View
2  twisted_coroutine/__init__.py → txcoroutine/__init__.py
@@ -126,7 +126,7 @@ def coroutine(f): # originally inlineCallbacks
Please see the documentation for twisted.internet.defer.inlineCallbacks for more information.
- See also: twisted_coroutine.noreturn for information on how to use optimized tail recursion with this decorator.
+ See also: txcoroutine.noreturn for information on how to use optimized tail recursion with this decorator.
"""
def unwindGenerator(*args, **kwargs):
Please sign in to comment.
Something went wrong with that request. Please try again.