python-engineio 4.11.0__tar.gz → 4.11.2__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.
- {python_engineio-4.11.0/src/python_engineio.egg-info → python_engineio-4.11.2}/PKG-INFO +1 -1
- {python_engineio-4.11.0 → python_engineio-4.11.2}/pyproject.toml +1 -1
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/async_client.py +0 -2
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/async_drivers/sanic.py +0 -1
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/socket.py +2 -1
- {python_engineio-4.11.0 → python_engineio-4.11.2/src/python_engineio.egg-info}/PKG-INFO +1 -1
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/common/test_socket.py +3 -3
- {python_engineio-4.11.0 → python_engineio-4.11.2}/LICENSE +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/MANIFEST.in +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/README.md +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/docs/Makefile +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/docs/_static/README.md +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/docs/api.rst +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/docs/client.rst +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/docs/conf.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/docs/index.rst +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/docs/intro.rst +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/docs/make.bat +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/docs/server.rst +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/setup.cfg +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/__init__.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/async_drivers/__init__.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/async_drivers/_websocket_wsgi.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/async_drivers/aiohttp.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/async_drivers/asgi.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/async_drivers/eventlet.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/async_drivers/gevent.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/async_drivers/gevent_uwsgi.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/async_drivers/threading.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/async_drivers/tornado.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/async_server.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/async_socket.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/base_client.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/base_server.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/base_socket.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/client.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/exceptions.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/json.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/middleware.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/packet.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/payload.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/server.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/static_files.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/python_engineio.egg-info/SOURCES.txt +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/python_engineio.egg-info/dependency_links.txt +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/python_engineio.egg-info/not-zip-safe +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/python_engineio.egg-info/requires.txt +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/src/python_engineio.egg-info/top_level.txt +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/__init__.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/async/__init__.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/async/index.html +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/async/test_aiohttp.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/async/test_asgi.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/async/test_client.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/async/test_sanic.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/async/test_server.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/async/test_socket.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/async/test_tornado.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/common/__init__.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/common/index.html +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/common/test_client.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/common/test_middleware.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/common/test_packet.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/common/test_payload.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/common/test_server.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/performance/README.md +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/performance/binary_b64_packet.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/performance/binary_packet.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/performance/json_packet.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/performance/payload.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/performance/run.sh +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/performance/server_receive.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tests/performance/text_packet.py +0 -0
- {python_engineio-4.11.0 → python_engineio-4.11.2}/tox.ini +0 -0
|
@@ -471,7 +471,6 @@ class AsyncClient(base_client.BaseClient):
|
|
|
471
471
|
try:
|
|
472
472
|
ret = await self.handlers[event](*args)
|
|
473
473
|
except TypeError:
|
|
474
|
-
print(args, len(args))
|
|
475
474
|
if event == 'disconnect' and \
|
|
476
475
|
len(args) == 1: # pragma: no branch
|
|
477
476
|
# legacy disconnect events do not have a reason
|
|
@@ -501,7 +500,6 @@ class AsyncClient(base_client.BaseClient):
|
|
|
501
500
|
try:
|
|
502
501
|
ret = self.handlers[event](*args)
|
|
503
502
|
except TypeError:
|
|
504
|
-
print(args, len(args))
|
|
505
503
|
if event == 'disconnect' and \
|
|
506
504
|
len(args) == 1: # pragma: no branch
|
|
507
505
|
# legacy disconnect events do not have a reason
|
|
@@ -250,6 +250,7 @@ class Socket(base_socket.BaseSocket):
|
|
|
250
250
|
|
|
251
251
|
self.queue.put(None) # unlock the writer task so that it can exit
|
|
252
252
|
writer_task.join()
|
|
253
|
-
self.close(wait=False, abort=True
|
|
253
|
+
self.close(wait=False, abort=True,
|
|
254
|
+
reason=self.server.reason.TRANSPORT_CLOSE)
|
|
254
255
|
|
|
255
256
|
return []
|
|
@@ -340,7 +340,7 @@ class TestSocket:
|
|
|
340
340
|
[
|
|
341
341
|
mock.call('message', 'sid', 'foo', run_async=True),
|
|
342
342
|
mock.call('disconnect', 'sid',
|
|
343
|
-
mock_server.reason.
|
|
343
|
+
mock_server.reason.TRANSPORT_CLOSE,
|
|
344
344
|
run_async=False)
|
|
345
345
|
]
|
|
346
346
|
)
|
|
@@ -375,7 +375,7 @@ class TestSocket:
|
|
|
375
375
|
[
|
|
376
376
|
mock.call('message', 'sid', 'foo', run_async=True),
|
|
377
377
|
mock.call('disconnect', 'sid',
|
|
378
|
-
mock_server.reason.
|
|
378
|
+
mock_server.reason.TRANSPORT_CLOSE,
|
|
379
379
|
run_async=False)
|
|
380
380
|
]
|
|
381
381
|
)
|
|
@@ -494,7 +494,7 @@ class TestSocket:
|
|
|
494
494
|
[
|
|
495
495
|
mock.call('message', 'sid', foo, run_async=True),
|
|
496
496
|
mock.call('disconnect', 'sid',
|
|
497
|
-
mock_server.reason.
|
|
497
|
+
mock_server.reason.TRANSPORT_CLOSE,
|
|
498
498
|
run_async=False)
|
|
499
499
|
]
|
|
500
500
|
)
|
|
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
|
{python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/async_drivers/_websocket_wsgi.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_engineio-4.11.0 → python_engineio-4.11.2}/src/engineio/async_drivers/gevent_uwsgi.py
RENAMED
|
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
|
{python_engineio-4.11.0 → python_engineio-4.11.2}/src/python_engineio.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_engineio-4.11.0 → python_engineio-4.11.2}/src/python_engineio.egg-info/top_level.txt
RENAMED
|
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
|