Commit 15b88bc6 authored by Jason Madden's avatar Jason Madden

Add changenote for #1289.

parent 19af005c
......@@ -4,10 +4,11 @@
.. currentmodule:: gevent
1.3.8 (unreleased)
1.4.0 (unreleased)
==================
- Nothing changed yet.
- Add support for application-wide callbacks when ``Greenlet`` objects
are started. See :pr:`1289`, provided by Yury Selivanov.
1.3.7 (2018-10-12)
......
......@@ -21,13 +21,13 @@ _version_info = namedtuple('version_info',
#: .. deprecated:: 1.2
#: Use ``pkg_resources.parse_version(__version__)`` (or the equivalent
#: ``packaging.version.Version(__version__)``).
version_info = _version_info(1, 3, 0, 'dev', 0)
version_info = _version_info(1, 4, 0, 'dev', 0)
#: The human-readable PEP 440 version identifier.
#: Use ``pkg_resources.parse_version(__version__)`` or
#: ``packaging.version.Version(__version__)`` to get a machine-usable
#: value.
__version__ = '1.3.8.dev0'
__version__ = '1.4.0.dev0'
__all__ = [
......
......@@ -535,7 +535,7 @@ class Greenlet(greenlet):
same callback more than one time will not cause it to be called more
than once.
.. versionadded:: 1.3.8
.. versionadded:: 1.4.0
"""
global _spawn_callbacks
if _spawn_callbacks is None: # pylint:disable=used-before-assignment
......@@ -551,7 +551,7 @@ class Greenlet(greenlet):
This function will not fail if *callback* has been already removed or
if *callback* was never added.
.. versionadded:: 1.3.8
.. versionadded:: 1.4.0
"""
global _spawn_callbacks
if _spawn_callbacks is not None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment