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

TelegramEngine reaches recursion limit after a while #91

Closed
ElSaico opened this issue Oct 14, 2017 · 2 comments
Closed

TelegramEngine reaches recursion limit after a while #91

ElSaico opened this issue Oct 14, 2017 · 2 comments
Labels

Comments

@ElSaico
Copy link
Contributor

ElSaico commented Oct 14, 2017

With #79 solved, it seems a couple issues were unearthed.

After a while, since Python lacks tail-recursion due to a design decision by Guido himself, those consecutive calls to self.polling end up hitting the runtime's recursion depth limit, throwing a RecursionError in the process.

Of course, the bot becomes inoperant after this.

@rougeth
Copy link
Owner

rougeth commented Oct 15, 2017

Thanks @ElSaico! Any suggestion on how to solve this?

@rougeth
Copy link
Owner

rougeth commented Oct 17, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants