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

timelimit doesn't work with pyodide #72

Open
NFontrodona opened this issue Nov 6, 2024 · 1 comment
Open

timelimit doesn't work with pyodide #72

NFontrodona opened this issue Nov 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@NFontrodona
Copy link

When creating an exercise, putting #| timelimit: 3 doesn't have any effect, the code still runs forever.

Example

#| exercise: ex_1_py
#| timelimit: 3
while True:
  a = 1

The code runs forever

@georgestagg
Copy link
Member

Thanks for reporting!

Working under webR but not under Pyodide. Looks like we just need to add the interruption logic.

@georgestagg georgestagg added the bug Something isn't working label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants