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

from threading import Thread gives Error #430

Closed
FatemehAhsan opened this issue Jul 24, 2023 · 2 comments
Closed

from threading import Thread gives Error #430

FatemehAhsan opened this issue Jul 24, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request stdlib Standard library feature

Comments

@FatemehAhsan
Copy link

FatemehAhsan commented Jul 24, 2023

Hi.
I tried to use codon for this code (This is a simple code for faster video processing using Multi-Threading in Python) but it raised the below error:

video_processing_parallel.py:4:23-29: error: cannot import name 'Thread' from 'threading'

Screenshot from 2023-07-24 17-07-46

Using:
Ubuntu 22.04 LTS
Python 3.10.6

Thanks.

@FatemehAhsan FatemehAhsan changed the title threading.Thread gives Error from threading import Thread gives Error Jul 24, 2023
@inumanag
Copy link
Contributor

Unfortunately class Thread is not yet implemented in Codon. You can use @par for now; this should be fixed in subsequent releases.

@inumanag inumanag added enhancement New feature or request stdlib Standard library feature labels Jul 26, 2023
@inumanag
Copy link
Contributor

Merging into #608 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stdlib Standard library feature
Projects
None yet
Development

No branches or pull requests

3 participants