awestlake87 / pyo3-asyncio

Other
312 stars 48 forks source link

Made tokio initialization lazy #33

Closed awestlake87 closed 3 years ago

awestlake87 commented 3 years ago

This PR makes tokio initialization lazy, which allows for more idiomatic module imports and should make Python multiprocessing less problematic. Motivations for these changes can be found in #32

Changes:

This PR might be bundled into #30 for a single disruptive initialization change.