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

Python async needed for some modules #110

Open
Technisha opened this issue Jan 1, 2020 · 6 comments
Open

Python async needed for some modules #110

Technisha opened this issue Jan 1, 2020 · 6 comments

Comments

@Technisha
Copy link

Heya I just wanted to bring this to your attention, some libs need python's built in async functions like await or async def, and this can break alot of code without it, so would it be possible to get the built in python functions like async and await implemented, or is there a way to import them? (Not asyncio)

@Technisha
Copy link
Author

Also, I can't use Ruby's Async module since I need to call the function with Async apparently so idk what to do :\

@Technisha
Copy link
Author

@mrkn

@mrkn
Copy link
Owner

mrkn commented Feb 24, 2020

@IpProxyNeon Could you describe what you want to do in more detail.
It is better to explain with the concrete code examples.
What code do you want to write with PyCall?

@Technisha
Copy link
Author

While there is discordrb for making discord bots, I am trying to use Hata (a very unknown discord bot library for python) it's use async and coroutines don't work as expected, async and await from the async gem in ruby isn't working as I need it, since Python's async and Ruby's async gem are different, so could you add a way to use asyncronous functions with pycall somehow? @mrkn

@Technisha
Copy link
Author

@mrkn sorry to bother you

@mrkn
Copy link
Owner

mrkn commented Feb 27, 2020

I'm not familiar with discordrb and Hata, so please show me what you want to do in a simple code example.

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