-
-
Notifications
You must be signed in to change notification settings - Fork 527
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
really drop python <=3.7 support #1476
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import asyncio | ||
import json | ||
import logging | ||
import urllib.parse | ||
|
||
import asyncio | ||
import websockets | ||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import asyncio | ||
import logging | ||
|
||
import asyncio | ||
import websockets | ||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#!/usr/bin/env python | ||
|
||
import asyncio | ||
import signal | ||
import os | ||
import signal | ||
|
||
import websockets | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
import asyncio | ||
import sys | ||
|
||
import websockets | ||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
import django | ||
import websockets | ||
|
||
|
||
django.setup() | ||
|
||
from sesame.utils import get_user | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
import django | ||
import websockets | ||
|
||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please avoid gratuitous formatting changes. Also, probably the autoformatter built into the project would revert it at the next commit. |
||
django.setup() | ||
|
||
from django.contrib.contenttypes.models import ContentType | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
#!/usr/bin/env python | ||
|
||
import asyncio | ||
|
||
from websockets.server import serve | ||
|
||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Again, gratuitous change that will make the docs look worse. |
||
async def echo(websocket): | ||
async for message in websocket: | ||
await websocket.send(message) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import datetime | ||
import json | ||
import logging | ||
import datetime | ||
|
||
|
||
class JSONFormatter(logging.Formatter): | ||
""" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,10 @@ | |
import asyncio | ||
import json | ||
import logging | ||
|
||
import websockets | ||
|
||
|
||
logging.basicConfig() | ||
|
||
USERS = set() | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
import json | ||
|
||
import websockets | ||
|
||
from connect4 import PLAYER1, PLAYER2, Connect4 | ||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
import secrets | ||
|
||
import websockets | ||
|
||
from connect4 import PLAYER1, PLAYER2, Connect4 | ||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ | |
import signal | ||
|
||
import websockets | ||
|
||
from connect4 import PLAYER1, PLAYER2, Connect4 | ||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That will break generating the docs.