python-engineio 4.11.0__py3-none-any.whl → 4.11.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.
engineio/async_client.py CHANGED
@@ -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
@@ -6,7 +6,6 @@ try: # pragma: no cover
6
6
  try:
7
7
  from sanic.server.protocols.websocket_protocol import WebSocketProtocol
8
8
  except ImportError:
9
- print('yay')
10
9
  from sanic.websocket import WebSocketProtocol
11
10
  except ImportError:
12
11
  HTTPResponse = None
engineio/socket.py CHANGED
@@ -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 []
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-engineio
3
- Version: 4.11.0
3
+ Version: 4.11.2
4
4
  Summary: Engine.IO server and client for Python
5
5
  Author-email: Miguel Grinberg <miguel.grinberg@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/miguelgrinberg/python-engineio
@@ -1,5 +1,5 @@
1
1
  engineio/__init__.py,sha256=0R2PY1EXu3sicP7mkA0_QxEVGRlFlgvsxfhByqREE1A,481
2
- engineio/async_client.py,sha256=jBy7ytWawPpP3b_52U7YU7G85wbWjMsdw_29y3e_BqA,29548
2
+ engineio/async_client.py,sha256=ZrK9j_sUNKRwjqeT6W26d1TtjoGAp2nULhIbX_1iivs,29446
3
3
  engineio/async_server.py,sha256=8Af_uwf8mKOCJGqVKa3QN0kz7_B2K1cdpSmsvkAoBR4,27412
4
4
  engineio/async_socket.py,sha256=nHY0DPPk0FtI9djUnQWtzZ3ce2OD184Tu-Dop7JLg9I,10715
5
5
  engineio/base_client.py,sha256=uEI6OglvhdIGD1DAZuptbn0KXQMk_o3w0AH4wJvPwZ0,5322
@@ -12,7 +12,7 @@ engineio/middleware.py,sha256=5NKBXz-ftuFErUB_V9IDvRHaSOsjhtW-NnuJtquB1nc,3750
12
12
  engineio/packet.py,sha256=Tejm9U5JcYs5LwZ_n_Xh0PIRv-U_JbHwGEivNXQN4eg,3181
13
13
  engineio/payload.py,sha256=GIWu0Vnay4WNZlDxHqVgP34tKTBXX58OArJ-mO5zD3E,1539
14
14
  engineio/server.py,sha256=4_xdtH0tyusigQurwOeDFrHtodthFTOIbOVZ-_ckh5U,22957
15
- engineio/socket.py,sha256=K5gSY5PTi6rZy4meP9CtTYsNlEU2JmsonYDDHfJVFI4,10280
15
+ engineio/socket.py,sha256=Oaw1E7ZDyOCaS7KV151g1u9rqOf1JJHh5gttEU0cSeA,10342
16
16
  engineio/static_files.py,sha256=pwez9LQFaSQXMbtI0vLyD6UDiokQ4rNfmRYgVLKOthc,2064
17
17
  engineio/async_drivers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
18
  engineio/async_drivers/_websocket_wsgi.py,sha256=LuOEfKhbAw8SplB5PMpYKIUqfCPEadQEpqeiq_leOIA,949
@@ -21,11 +21,11 @@ engineio/async_drivers/asgi.py,sha256=mBu109j7R6esH-wI62jvTnfVAEjWvw2YNp0dZ74NyH
21
21
  engineio/async_drivers/eventlet.py,sha256=n1y4OjPdj4J2GIep5N56O29oa5NQgFJVcTBjyO1C-Gs,1735
22
22
  engineio/async_drivers/gevent.py,sha256=hnJHeWdDQE2jfoLCP5DnwVPzsQlcTLJUMA5EVf1UL-k,2962
23
23
  engineio/async_drivers/gevent_uwsgi.py,sha256=m6ay5dov9FDQl0fbeiKeE-Orh5LiF6zLlYQ64Oa3T5g,5954
24
- engineio/async_drivers/sanic.py,sha256=VvHZlkOBdHPkA620-Z9EdzpPp-O-KhMgS-h7RCuw_a4,4516
24
+ engineio/async_drivers/sanic.py,sha256=GYX8YWR1GbRm-GkMTAQkfkWbY12MOT1IV2DzH0Xx8Ns,4495
25
25
  engineio/async_drivers/threading.py,sha256=ywmG59d4H6OHZjKarBN97-9BHEsRxFEz9YN-E9QAu_I,463
26
26
  engineio/async_drivers/tornado.py,sha256=mbVHs1mECfzFSNv33uigkpTBtNPT0u49k5zaybewdIo,5893
27
- python_engineio-4.11.0.dist-info/LICENSE,sha256=yel9Pbwfu82094CLKCzWRtuIev9PUxP-a76NTDFAWpw,1082
28
- python_engineio-4.11.0.dist-info/METADATA,sha256=ptID9L-diLLf_PVNRydyfripogmQvTtlqerR9yURhMA,2237
29
- python_engineio-4.11.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
30
- python_engineio-4.11.0.dist-info/top_level.txt,sha256=u8PmNisCZLwRYcWrNLe9wutQ2tt4zNi8IH362c-HWuA,9
31
- python_engineio-4.11.0.dist-info/RECORD,,
27
+ python_engineio-4.11.2.dist-info/LICENSE,sha256=yel9Pbwfu82094CLKCzWRtuIev9PUxP-a76NTDFAWpw,1082
28
+ python_engineio-4.11.2.dist-info/METADATA,sha256=WfrX2DOOQdxr6FoiFDIuNe8lorFgUdilJYBfWuD2-Kw,2237
29
+ python_engineio-4.11.2.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
30
+ python_engineio-4.11.2.dist-info/top_level.txt,sha256=u8PmNisCZLwRYcWrNLe9wutQ2tt4zNi8IH362c-HWuA,9
31
+ python_engineio-4.11.2.dist-info/RECORD,,