portal 3.2.3__tar.gz → 3.2.4__tar.gz
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.
- {portal-3.2.3/portal.egg-info → portal-3.2.4}/PKG-INFO +1 -1
- {portal-3.2.3 → portal-3.2.4}/portal/__init__.py +1 -1
- {portal-3.2.3 → portal-3.2.4}/portal/client_socket.py +2 -2
- {portal-3.2.3 → portal-3.2.4/portal.egg-info}/PKG-INFO +1 -1
- {portal-3.2.3 → portal-3.2.4}/LICENSE +0 -0
- {portal-3.2.3 → portal-3.2.4}/MANIFEST.in +0 -0
- {portal-3.2.3 → portal-3.2.4}/README.md +0 -0
- {portal-3.2.3 → portal-3.2.4}/portal/batching.py +0 -0
- {portal-3.2.3 → portal-3.2.4}/portal/buffers.py +0 -0
- {portal-3.2.3 → portal-3.2.4}/portal/client.py +0 -0
- {portal-3.2.3 → portal-3.2.4}/portal/contextlib.py +0 -0
- {portal-3.2.3 → portal-3.2.4}/portal/packlib.py +0 -0
- {portal-3.2.3 → portal-3.2.4}/portal/poollib.py +0 -0
- {portal-3.2.3 → portal-3.2.4}/portal/process.py +0 -0
- {portal-3.2.3 → portal-3.2.4}/portal/server.py +0 -0
- {portal-3.2.3 → portal-3.2.4}/portal/server_socket.py +0 -0
- {portal-3.2.3 → portal-3.2.4}/portal/sharray.py +0 -0
- {portal-3.2.3 → portal-3.2.4}/portal/thread.py +0 -0
- {portal-3.2.3 → portal-3.2.4}/portal/utils.py +0 -0
- {portal-3.2.3 → portal-3.2.4}/portal.egg-info/SOURCES.txt +0 -0
- {portal-3.2.3 → portal-3.2.4}/portal.egg-info/dependency_links.txt +0 -0
- {portal-3.2.3 → portal-3.2.4}/portal.egg-info/requires.txt +0 -0
- {portal-3.2.3 → portal-3.2.4}/portal.egg-info/top_level.txt +0 -0
- {portal-3.2.3 → portal-3.2.4}/pyproject.toml +0 -0
- {portal-3.2.3 → portal-3.2.4}/requirements.txt +0 -0
- {portal-3.2.3 → portal-3.2.4}/setup.cfg +0 -0
- {portal-3.2.3 → portal-3.2.4}/setup.py +0 -0
- {portal-3.2.3 → portal-3.2.4}/tests/test_batching.py +0 -0
- {portal-3.2.3 → portal-3.2.4}/tests/test_client.py +0 -0
- {portal-3.2.3 → portal-3.2.4}/tests/test_errfile.py +0 -0
- {portal-3.2.3 → portal-3.2.4}/tests/test_pack.py +0 -0
- {portal-3.2.3 → portal-3.2.4}/tests/test_process.py +0 -0
- {portal-3.2.3 → portal-3.2.4}/tests/test_server.py +0 -0
- {portal-3.2.3 → portal-3.2.4}/tests/test_socket.py +0 -0
- {portal-3.2.3 → portal-3.2.4}/tests/test_thread.py +0 -0
@@ -186,8 +186,8 @@ class ClientSocket:
|
|
186
186
|
host, port = self.addr
|
187
187
|
if contextlib.context.resolver:
|
188
188
|
host, port = contextlib.context.resolver((host, port))
|
189
|
-
|
190
|
-
|
189
|
+
assert isinstance(host, str), (host, port)
|
190
|
+
port = int(port)
|
191
191
|
addr = (host, port, 0, 0) if self.options.ipv6 else (host, port)
|
192
192
|
sock = self._create()
|
193
193
|
error = None
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|