]> git.ipfire.org Git - thirdparty/tornado.git/commit
Replace `gen.Multi` and `gen.multi_future` with `gen.multi`.
authorBen Darnell <ben@bendarnell.com>
Tue, 15 Sep 2015 03:27:18 +0000 (23:27 -0400)
committerBen Darnell <ben@bendarnell.com>
Tue, 15 Sep 2015 03:27:18 +0000 (23:27 -0400)
commitaddabd5190d4dc52d8695c7e2270511b5d5c21e1
tree7d84430df0e8cdb186620c54cfe7258a89276e6a
parent6a0808146bbaa701a4ad46aaf79b5c80415fca6a
Replace `gen.Multi` and `gen.multi_future` with `gen.multi`.

`multi_future` is awkward to type but is much more prominent
in native coroutines. The new function `multi` has a more
convenient name and delegates to either the YieldPoint
or Future version automatically.

For backwards compatibility, `multi_future` is still around,
and `Multi` was renamed to `MultiYieldPoint` so that we don't
have two different objects whose names differ only in case
(`Multi` is now an alias for `multi`).

See #1493.
docs/gen.rst
docs/releases/v4.2.0.rst
tornado/gen.py