forked from epoplavskis/photon-pump
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python 3.10 support (epoplavskis#239)
* add python 3.10 support * more loop cleanup + test for dep warning + readme updates * better warning message * Remove empty line * Changing python 10 build version * black * try with 3.10 * add quotes * use Focal Fossa * add python 3.6 compat Co-authored-by: Edgar Poplavskis <[email protected]>
- Loading branch information
1 parent
6aa6b29
commit e906a27
Showing
20 changed files
with
550 additions
and
443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import asyncio | ||
|
||
# python 3.6 doesn't have "get_running_loop" | ||
get_running_loop = getattr(asyncio, "get_running_loop", asyncio.get_event_loop) |
Oops, something went wrong.