python-socks 2.7.0__py3-none-any.whl → 2.7.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- python_socks/_version.py +1 -1
- python_socks/async_/asyncio/_connect.py +5 -1
- python_socks/async_/trio/_connect.py +5 -1
- {python_socks-2.7.0.dist-info → python_socks-2.7.2.dist-info}/METADATA +3 -2
- {python_socks-2.7.0.dist-info → python_socks-2.7.2.dist-info}/RECORD +8 -8
- {python_socks-2.7.0.dist-info → python_socks-2.7.2.dist-info}/WHEEL +1 -1
- {python_socks-2.7.0.dist-info → python_socks-2.7.2.dist-info/licenses}/LICENSE.txt +0 -0
- {python_socks-2.7.0.dist-info → python_socks-2.7.2.dist-info}/top_level.txt +0 -0
python_socks/_version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
__title__ = 'python-socks'
|
|
2
|
-
__version__ = '2.7.
|
|
2
|
+
__version__ = '2.7.2'
|
|
@@ -25,7 +25,11 @@ async def connect_tcp(
|
|
|
25
25
|
else:
|
|
26
26
|
address = (host, port) # type: ignore[assignment]
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
try:
|
|
29
|
+
await loop.sock_connect(sock=sock, address=address)
|
|
30
|
+
except OSError:
|
|
31
|
+
sock.close()
|
|
32
|
+
raise
|
|
29
33
|
return sock
|
|
30
34
|
|
|
31
35
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: python-socks
|
|
3
|
-
Version: 2.7.
|
|
3
|
+
Version: 2.7.2
|
|
4
4
|
Summary: Proxy (SOCKS4, SOCKS5, HTTP CONNECT) client for Python
|
|
5
5
|
Author-email: Roman Snegirev <snegiryev@gmail.com>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -36,6 +36,7 @@ Provides-Extra: curio
|
|
|
36
36
|
Requires-Dist: curio>=1.4; extra == "curio"
|
|
37
37
|
Provides-Extra: anyio
|
|
38
38
|
Requires-Dist: anyio<5.0.0,>=3.3.4; extra == "anyio"
|
|
39
|
+
Dynamic: license-file
|
|
39
40
|
|
|
40
41
|
## python-socks
|
|
41
42
|
|
|
@@ -3,7 +3,7 @@ python_socks/_abc.py,sha256=_juTZE0iqoTChE53IHjBKEYFO-fxYZfPhdUc6EgFlwE,909
|
|
|
3
3
|
python_socks/_errors.py,sha256=UwMkTn-31DGdjQaL7Ba5ht3m1DUX0eqvC8MN-BXu4nE,248
|
|
4
4
|
python_socks/_helpers.py,sha256=UacO07M9i8G8CfqzBYWnehgCTFbZTlwJWAsFoXR3mVk,2708
|
|
5
5
|
python_socks/_types.py,sha256=dgQifNf2mIwdKoX7YmI91H_lUsW9-Y0ZkZGlIV6_NNw,90
|
|
6
|
-
python_socks/_version.py,sha256=
|
|
6
|
+
python_socks/_version.py,sha256=8_h1EfvKrqROsd4FBWdHYI4K3I1JxCnYjD-fgNQGI1E,49
|
|
7
7
|
python_socks/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
8
|
python_socks/_connectors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
python_socks/_connectors/abc.py,sha256=1fgjPiv64UAMiJDsJXYr-GofPGhuHTwTzaodQfrzf7Q,397
|
|
@@ -34,7 +34,7 @@ python_socks/async_/anyio/v2/_connect.py,sha256=_LF1f_cYJbfdSqkq-xEK4nF4l-bP5I1V
|
|
|
34
34
|
python_socks/async_/anyio/v2/_proxy.py,sha256=7F-Y_xhVcqGnKjUDVnjYNkyz5VEFJjzZhkl0Xklyj9U,4085
|
|
35
35
|
python_socks/async_/anyio/v2/_stream.py,sha256=40D3Pmb0rryk9gaQlmjpAMdiJi5H5O0xbBseblGG1FY,1616
|
|
36
36
|
python_socks/async_/asyncio/__init__.py,sha256=0WAM07vy0YvI8IhKGmaUA0GaNLHaG3l-4mnJVbfoqHE,65
|
|
37
|
-
python_socks/async_/asyncio/_connect.py,sha256=
|
|
37
|
+
python_socks/async_/asyncio/_connect.py,sha256=K4qqOwXI-1uVleSwf-mQ2ZPO5LwKeSr50Wr3jWImEng,1110
|
|
38
38
|
python_socks/async_/asyncio/_proxy.py,sha256=HS1NfXZCYOZ2b4qUee01CwH4NF1OcXPzqYxEJXYJeT8,4120
|
|
39
39
|
python_socks/async_/asyncio/_resolver.py,sha256=ROqOncuIub87J9_nMdvRTG_5zYOh8uafk265z0s2ORQ,681
|
|
40
40
|
python_socks/async_/asyncio/_stream.py,sha256=RP7BIP9iFFy5nLRf9kHH7s1h_zPfo0yoEVKNpExqFcI,1021
|
|
@@ -49,7 +49,7 @@ python_socks/async_/curio/_proxy.py,sha256=_Qgodw62VPvt-5j1T34l7P52R5Bk4Crq97QJ0
|
|
|
49
49
|
python_socks/async_/curio/_resolver.py,sha256=_jDZq_lzTl_QihxH2HNEY_7_ELo-qmzG6IO5PNNEOek,722
|
|
50
50
|
python_socks/async_/curio/_stream.py,sha256=sIAbwkPuiFF4c8cEs7exVdGb7cfFgoggKTV4LYqDcm0,855
|
|
51
51
|
python_socks/async_/trio/__init__.py,sha256=Y68xwGqkXGKXHcwM6nvev6n2ChbFpBUFW0RzBrsIrug,61
|
|
52
|
-
python_socks/async_/trio/_connect.py,sha256=
|
|
52
|
+
python_socks/async_/trio/_connect.py,sha256=qVfK4jz3h1Tjwnr8sX0DNazASdg3DDXNHjMopaHGY0I,851
|
|
53
53
|
python_socks/async_/trio/_proxy.py,sha256=yp3NJOTAaw2ReXlPt4fBRY51Xqc1C3tf16H3v0XvlCg,3786
|
|
54
54
|
python_socks/async_/trio/_resolver.py,sha256=uqBoTkbYpwwESoph2SmXRUUHM_DsT7dALQDmKqp-sco,591
|
|
55
55
|
python_socks/async_/trio/_stream.py,sha256=xunx_XUiwH1pBLQjWbkqq3P92SeXaRypPMPRYwHOsPg,1003
|
|
@@ -70,8 +70,8 @@ python_socks/sync/v2/_connect.py,sha256=QrZ1CZimYCUMUuaD8JdUblwlqlzIbqFrbsPwMzox
|
|
|
70
70
|
python_socks/sync/v2/_proxy.py,sha256=7FuO6wML0DkEonoGAprhTlVd8fazOgNeNrJyxABmP1Q,3621
|
|
71
71
|
python_socks/sync/v2/_ssl_transport.py,sha256=MURwzvKu-S2-MI7o8KaZTvvBFOiiKIu5R0ERVIMvERE,6088
|
|
72
72
|
python_socks/sync/v2/_stream.py,sha256=Jq89x1xmIX3L_v-WyS1nRTItjTnYTcDcfDblsANxfJI,1544
|
|
73
|
-
python_socks-2.7.
|
|
74
|
-
python_socks-2.7.
|
|
75
|
-
python_socks-2.7.
|
|
76
|
-
python_socks-2.7.
|
|
77
|
-
python_socks-2.7.
|
|
73
|
+
python_socks-2.7.2.dist-info/licenses/LICENSE.txt,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
74
|
+
python_socks-2.7.2.dist-info/METADATA,sha256=dEv3CXSzwov12G9pLHed35GeoEswmBih9KcbSR8GpQw,7986
|
|
75
|
+
python_socks-2.7.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
76
|
+
python_socks-2.7.2.dist-info/top_level.txt,sha256=7qyDAVwjTZ0sIYG1iatFbE-SLpWhONjaoMQ0Ib2DX0Q,13
|
|
77
|
+
python_socks-2.7.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|