summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,