python-socks 3.0.0__py3-none-any.whl → 3.1.0__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 CHANGED
@@ -1,2 +1,2 @@
1
1
  __title__ = "python-socks"
2
- __version__ = "3.0.0"
2
+ __version__ = "3.1.0"
@@ -78,6 +78,10 @@ class AsyncioSocketStream(abc.AsyncSocketStream):
78
78
 
79
79
  async def close(self) -> None:
80
80
  self._writer.close()
81
+ try:
82
+ await self._writer.wait_closed()
83
+ except OSError:
84
+ pass
81
85
  self._writer.transport.abort()
82
86
 
83
87
  @property
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-socks
3
- Version: 3.0.0
3
+ Version: 3.1.0
4
4
  Summary: Proxy (SOCKS4, SOCKS5, HTTP CONNECT) client for Python
5
5
  Author-email: Roman Snegirev <snegiryev@gmail.com>
6
6
  License-Expression: Apache-2.0
@@ -3,7 +3,7 @@ python_socks/_abc.py,sha256=hWx0g_a1Df5puIzVIn3Dd9_SHF4ADzax4WQZeo-Y8bY,1207
3
3
  python_socks/_errors.py,sha256=gfolrrm3V08_v5HTLz0IyLlq14lkyXbOGa_X-ppSFzQ,511
4
4
  python_socks/_helpers.py,sha256=NweYNhD0-RimP0TPzfqofp3EFl23WWr6pMP_4g-Tskc,2743
5
5
  python_socks/_types.py,sha256=G4Pktu-z8eJmdmlt6t8gnMT5-kuZQkY7Vmy1Nx0rdIw,157
6
- python_socks/_version.py,sha256=IDLGnOO0HqgubX0FroxCqZQ1glwT5MN-OdAtMXKqdgA,49
6
+ python_socks/_version.py,sha256=NHyj2_ZP1b7sCM-X3jnVvdQMUJIMyRNncJGdqWY_q2M,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=FaLueczebKhIH0CvOfw232hE_SlKc8BY2hWfCXNpxmI,435
@@ -38,7 +38,7 @@ python_socks/async_/asyncio/_stream.py,sha256=p2XMTbrnXwz23jGd4NPYIcpgx1nZnNjn7a
38
38
  python_socks/async_/asyncio/v2/__init__.py,sha256=vryJNtCqDYriwWhmlB279WN7XI1dbELUAOrsMXWN2Ww,64
39
39
  python_socks/async_/asyncio/v2/_connect.py,sha256=W5ZaQF-jY1yxD_WjiuFUot0gADeY-QiCFFaXm5Nfj5I,625
40
40
  python_socks/async_/asyncio/v2/_proxy.py,sha256=iqngXtYYD79yHAnMHIc5UxsTlzRQZiY8pL2seBnxYI4,4935
41
- python_socks/async_/asyncio/v2/_stream.py,sha256=t4C5eUajR-Bfb5jSJ2o3t3v4LVJ_M3lCWF47suHERwk,2798
41
+ python_socks/async_/asyncio/v2/_stream.py,sha256=H6oQQ3GxlUlmsXf4WWSxdi0_7ejS6OfY-nDZWbcbn38,2897
42
42
  python_socks/async_/trio/__init__.py,sha256=-SQ1iuGgZ3A9YUaVKF8Q12lCj_e-5Kytd9P3zJwaoy0,61
43
43
  python_socks/async_/trio/_connect.py,sha256=Zvdun2nXdMmbXACEQsKnmRcUmB8fCLuiJD21gXnfv8c,910
44
44
  python_socks/async_/trio/_proxy.py,sha256=LhacHbqElxSZK9nWmyTAbbBc5cAqZ8MrlylkD52-3Po,3793
@@ -58,8 +58,8 @@ python_socks/sync/v2/_connect.py,sha256=TQGD3j8qwHjJqqzLRubmwmIMhkoWRfQd4351ipTY
58
58
  python_socks/sync/v2/_proxy.py,sha256=sD2vVKvXEfSw5IzzDcwp45DElkKB33lsT6ZCKXcoxPk,3815
59
59
  python_socks/sync/v2/_ssl_transport.py,sha256=z3fB52pH7tqOADyICuoJF1YYKTs1ogkeR3K-J8v6P0w,6123
60
60
  python_socks/sync/v2/_stream.py,sha256=23srzyxyP7o7KtEdNQllZIvPIxBZ8oC_rV0bkd4jui8,1744
61
- python_socks-3.0.0.dist-info/licenses/LICENSE.txt,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
62
- python_socks-3.0.0.dist-info/METADATA,sha256=vmOXG6pVTxNJzJeDUVPlvOMS0tj2PqN2B0_Oenym9Lo,8923
63
- python_socks-3.0.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
64
- python_socks-3.0.0.dist-info/top_level.txt,sha256=7qyDAVwjTZ0sIYG1iatFbE-SLpWhONjaoMQ0Ib2DX0Q,13
65
- python_socks-3.0.0.dist-info/RECORD,,
61
+ python_socks-3.1.0.dist-info/licenses/LICENSE.txt,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
62
+ python_socks-3.1.0.dist-info/METADATA,sha256=e9IXmBrXG-Oe_xZm5a7QcYCfDoMHpzfyz4WhlQn6sgw,8923
63
+ python_socks-3.1.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
64
+ python_socks-3.1.0.dist-info/top_level.txt,sha256=7qyDAVwjTZ0sIYG1iatFbE-SLpWhONjaoMQ0Ib2DX0Q,13
65
+ python_socks-3.1.0.dist-info/RECORD,,