Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap coroutines #14

Closed
iho opened this issue May 5, 2015 · 1 comment
Closed

Wrap coroutines #14

iho opened this issue May 5, 2015 · 1 comment

Comments

@iho
Copy link
Contributor

iho commented May 5, 2015

Hi!
https://github.com/jlhutch/pylru/blob/master/pylru.py#L549
value = func(*args, **kwargs)
For python3.4 need check if is coroutine and add yield from
value = yield from func(*args, **kwargs)

if asyncio.iscoroutinefunction(expect_handler)

But maybe it will anyway raise error on python 2.

@jlhutch
Copy link
Owner

jlhutch commented Dec 21, 2023

Just closing old issues that, for whatever reason, never went anywhere. Please feel free to open the issue again if there is still something that needs resolved. Thanks.

@jlhutch jlhutch closed this as completed Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants