summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-01-18 18:35:15 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2013-01-18 18:35:15 -0500
commitc1e1ddd2ff4d0c80487dce61e2e61ca9c1ff183b (patch)
tree1b538d8c38d34fc40b930b940f988aef7ce8b4cd
parent90061f7e22e35319590c1c491c0525cd1dc06ad4 (diff)
downloaddogpile-core-c1e1ddd2ff4d0c80487dce61e2e61ca9c1ff183b.tar.gz
- version bump
- changelog
-rw-r--r--docs/build/changelog.rst11
-rw-r--r--dogpile/core/__init__.py2
-rw-r--r--dogpile/core/dogpile.py2
3 files changed, 14 insertions, 1 deletions
diff --git a/docs/build/changelog.rst b/docs/build/changelog.rst
index e8b0196..5522716 100644
--- a/docs/build/changelog.rst
+++ b/docs/build/changelog.rst
@@ -3,6 +3,17 @@ Changelog
==========
.. changelog::
+ :version: 0.4.1
+
+ .. change::
+ :pullreq: 2
+
+ An "async creator" function can be specified to
+ :class:`.Lock` which allows the "creation" function
+ to be called asynchronously or be subsituted for
+ another asynchronous creation scheme. Courtesy
+ Ralph Bean.
+
:version: 0.4.0
:released: Tue Oct 30 2012
diff --git a/dogpile/core/__init__.py b/dogpile/core/__init__.py
index 130b8ac..fb9d756 100644
--- a/dogpile/core/__init__.py
+++ b/dogpile/core/__init__.py
@@ -7,5 +7,5 @@ __all__ = [
'Dogpile', 'SyncReaderDogpile', 'NeedRegenerationException',
'NameRegistry', 'ReadWriteMutex', 'Lock']
-__version__ = '0.4.0'
+__version__ = '0.4.1'
diff --git a/dogpile/core/dogpile.py b/dogpile/core/dogpile.py
index 5d6e2b7..2e3ca0e 100644
--- a/dogpile/core/dogpile.py
+++ b/dogpile/core/dogpile.py
@@ -52,6 +52,8 @@ class Lock(object):
this to be used to defer invocation of the creator callable until some
later time.
+ .. versionadded:: 0.4.1 added the async_creator argument.
+
"""
def __init__(self,