Skip to content

Commit cb393e1

Browse files
author
CI
committed
Releasing version 0.1.47
1 parent 532a4b1 commit cb393e1

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGES
22
=======
33

4+
0.1.47
5+
------
6+
7+
* FDK Python: 0.1.47 version release
8+
49
0.1.46
510
------
611

fdk/async_http/protocol.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#
1616

1717
import asyncio
18+
import sys
1819
import traceback
1920

2021
from httptools import HttpRequestParser
@@ -133,7 +134,10 @@ def __init__(
133134
self.request_class = request_class or Request
134135
self.is_request_stream = is_request_stream
135136
self._is_stream_handler = False
136-
self._not_paused = asyncio.Event(loop=loop)
137+
if sys.version_info >= (3, 10):
138+
self._not_paused = asyncio.Event()
139+
else:
140+
self._not_paused = asyncio.Event(loop=loop)
137141
self._total_request_size = 0
138142
self._request_timeout_handler = None
139143
self._response_timeout_handler = None

fdk/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = '0.1.46'
1+
VERSION = '0.1.47'

0 commit comments

Comments
 (0)