Skip to content

Commit 15100f6

Browse files
committed
Setup script, bump version
1 parent e17b5e2 commit 15100f6

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

python_socks/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
__title__ = 'python-socks'
2-
__version__ = '1.1.2'
2+
__version__ = '1.1.3'

python_socks/async_/asyncio/ext/_proxy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from ...._proto_socks4_async import Socks4Proto
88
from ...._proto_socks5_async import Socks5Proto
99

10-
from ._stream import AsyncioAwareStream
10+
from ._stream import SocketStream
1111

1212
DEFAULT_TIMEOUT = 60
1313

@@ -29,7 +29,7 @@ def __init__(self, proxy_host, proxy_port, proxy_ssl=None,
2929
self._dest_port = None
3030
self._timeout = None
3131

32-
self._stream = AsyncioAwareStream(loop=loop)
32+
self._stream = SocketStream(loop=loop)
3333

3434
async def connect(self, dest_host, dest_port, timeout=DEFAULT_TIMEOUT):
3535
self._dest_host = dest_host

python_socks/async_/asyncio/ext/_stream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
DEFAULT_RECEIVE_SIZE = 65536
88

99

10-
class AsyncioAwareStream:
10+
class SocketStream:
1111
_loop: asyncio.AbstractEventLoop = None
1212
_reader: asyncio.StreamReader = None
1313
_writer: asyncio.StreamWriter = None

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
'python_socks.sync',
4242
'python_socks.async_',
4343
'python_socks.async_.asyncio',
44+
'python_socks.async_.asyncio.ext',
4445
'python_socks.async_.trio',
4546
'python_socks.async_.curio',
4647
],

0 commit comments

Comments
 (0)