File tree 14 files changed +1086
-668
lines changed 14 files changed +1086
-668
lines changed Original file line number Diff line number Diff line change 76
76
- EVENT_LOOP : uvloop
77
77
- TIMEOUT : " 2.0"
78
78
79
- test-pypy-3_6-asyncio :
80
- << : *shared
81
- docker :
82
- - image : saltyrtc/circleci-image-python:pypy-3.6
83
- environment :
84
- - EVENT_LOOP : asyncio
85
- - TIMEOUT : " 6.0"
86
-
87
- test-pypy-3_5-asyncio :
88
- << : *shared
89
- docker :
90
- - image : saltyrtc/circleci-image-python:pypy-3.5
91
- environment :
92
- - EVENT_LOOP : asyncio
93
- - TIMEOUT : " 6.0"
94
-
95
79
lint :
96
80
docker :
97
81
- image : saltyrtc/circleci-image-python:python-3.7
@@ -178,8 +162,6 @@ workflows:
178
162
- test-python-3_6-uvloop
179
163
- test-python-3_5-asyncio
180
164
- test-python-3_5-uvloop
181
- - test-pypy-3_6-asyncio
182
- - test-pypy-3_5-asyncio
183
165
docker :
184
166
jobs :
185
167
- build-docker :
Original file line number Diff line number Diff line change 10
10
from .message import * # noqa
11
11
from .protocol import * # noqa
12
12
from .server import * # noqa
13
+ from .task import * # noqa
13
14
from .util import * # noqa
14
15
15
16
__all__ = tuple (itertools .chain (
20
21
message .__all__ , # noqa
21
22
protocol .__all__ , # noqa
22
23
server .__all__ , # noqa
24
+ task .__all__ , # noqa
23
25
util .__all__ , # noqa
24
26
))
25
27
Original file line number Diff line number Diff line change 6
6
import os
7
7
import signal
8
8
import stat
9
- from typing import Any # noqa
10
9
from typing import Coroutine # noqa
11
10
from typing import List # noqa
12
11
from typing import Optional # noqa
13
12
from typing import Sequence # noqa
13
+ from typing import Any
14
14
15
15
import click
16
16
import libnacl .public
Original file line number Diff line number Diff line change 32
32
'KEEP_ALIVE_INTERVAL_DEFAULT' ,
33
33
'KEEP_ALIVE_TIMEOUT' ,
34
34
'OverflowSentinel' ,
35
- 'TaskLoopStopSentinel' ,
36
35
'SubProtocol' ,
37
36
'CloseCode' ,
38
37
'DropReason' ,
@@ -77,13 +76,6 @@ class OverflowSentinel:
77
76
"""
78
77
79
78
80
- class TaskLoopStopSentinel :
81
- """
82
- The task loop will stop if this has been dequeued from the task
83
- queue.
84
- """
85
-
86
-
87
79
@enum .unique
88
80
class SubProtocol (enum .Enum ):
89
81
saltyrtc_v1 = 'v1.saltyrtc.org'
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ class DowngradeError(SignalingError):
86
86
class Disconnected (Exception ):
87
87
"""
88
88
The client disconnected from the server or has been disconnected by
89
- the server.
89
+ the server (e.g. by a drop request) .
90
90
91
91
..note:: This does not derive from :class:`SignalingError` since it
92
92
is not considered an *error*.
You can’t perform that action at this time.
0 commit comments