asgiref 3.9.1__tar.gz → 3.9.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.
Files changed (33) hide show
  1. {asgiref-3.9.1/asgiref.egg-info → asgiref-3.9.2}/PKG-INFO +1 -1
  2. asgiref-3.9.2/asgiref/__init__.py +1 -0
  3. {asgiref-3.9.1 → asgiref-3.9.2}/asgiref/wsgi.py +2 -2
  4. {asgiref-3.9.1 → asgiref-3.9.2/asgiref.egg-info}/PKG-INFO +1 -1
  5. {asgiref-3.9.1 → asgiref-3.9.2}/tox.ini +1 -1
  6. asgiref-3.9.1/asgiref/__init__.py +0 -1
  7. {asgiref-3.9.1 → asgiref-3.9.2}/LICENSE +0 -0
  8. {asgiref-3.9.1 → asgiref-3.9.2}/MANIFEST.in +0 -0
  9. {asgiref-3.9.1 → asgiref-3.9.2}/README.rst +0 -0
  10. {asgiref-3.9.1 → asgiref-3.9.2}/asgiref/compatibility.py +0 -0
  11. {asgiref-3.9.1 → asgiref-3.9.2}/asgiref/current_thread_executor.py +0 -0
  12. {asgiref-3.9.1 → asgiref-3.9.2}/asgiref/local.py +0 -0
  13. {asgiref-3.9.1 → asgiref-3.9.2}/asgiref/py.typed +0 -0
  14. {asgiref-3.9.1 → asgiref-3.9.2}/asgiref/server.py +0 -0
  15. {asgiref-3.9.1 → asgiref-3.9.2}/asgiref/sync.py +0 -0
  16. {asgiref-3.9.1 → asgiref-3.9.2}/asgiref/testing.py +0 -0
  17. {asgiref-3.9.1 → asgiref-3.9.2}/asgiref/timeout.py +0 -0
  18. {asgiref-3.9.1 → asgiref-3.9.2}/asgiref/typing.py +0 -0
  19. {asgiref-3.9.1 → asgiref-3.9.2}/asgiref.egg-info/SOURCES.txt +0 -0
  20. {asgiref-3.9.1 → asgiref-3.9.2}/asgiref.egg-info/dependency_links.txt +0 -0
  21. {asgiref-3.9.1 → asgiref-3.9.2}/asgiref.egg-info/not-zip-safe +0 -0
  22. {asgiref-3.9.1 → asgiref-3.9.2}/asgiref.egg-info/requires.txt +0 -0
  23. {asgiref-3.9.1 → asgiref-3.9.2}/asgiref.egg-info/top_level.txt +0 -0
  24. {asgiref-3.9.1 → asgiref-3.9.2}/setup.cfg +0 -0
  25. {asgiref-3.9.1 → asgiref-3.9.2}/setup.py +0 -0
  26. {asgiref-3.9.1 → asgiref-3.9.2}/tests/test_compatibility.py +0 -0
  27. {asgiref-3.9.1 → asgiref-3.9.2}/tests/test_garbage_collection.py +0 -0
  28. {asgiref-3.9.1 → asgiref-3.9.2}/tests/test_local.py +0 -0
  29. {asgiref-3.9.1 → asgiref-3.9.2}/tests/test_server.py +0 -0
  30. {asgiref-3.9.1 → asgiref-3.9.2}/tests/test_sync.py +0 -0
  31. {asgiref-3.9.1 → asgiref-3.9.2}/tests/test_sync_contextvars.py +0 -0
  32. {asgiref-3.9.1 → asgiref-3.9.2}/tests/test_testing.py +0 -0
  33. {asgiref-3.9.1 → asgiref-3.9.2}/tests/test_wsgi.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: asgiref
3
- Version: 3.9.1
3
+ Version: 3.9.2
4
4
  Summary: ASGI specs, helper code, and adapters
5
5
  Home-page: https://github.com/django/asgiref/
6
6
  Author: Django Software Foundation
@@ -0,0 +1 @@
1
+ __version__ = "3.9.2"
@@ -1,4 +1,4 @@
1
- from io import BytesIO
1
+ import sys
2
2
  from tempfile import SpooledTemporaryFile
3
3
 
4
4
  from asgiref.sync import AsyncToSync, sync_to_async
@@ -67,7 +67,7 @@ class WsgiToAsgiInstance:
67
67
  "wsgi.version": (1, 0),
68
68
  "wsgi.url_scheme": scope.get("scheme", "http"),
69
69
  "wsgi.input": body,
70
- "wsgi.errors": BytesIO(),
70
+ "wsgi.errors": sys.stderr,
71
71
  "wsgi.multithread": True,
72
72
  "wsgi.multiprocess": True,
73
73
  "wsgi.run_once": False,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: asgiref
3
- Version: 3.9.1
3
+ Version: 3.9.2
4
4
  Summary: ASGI specs, helper code, and adapters
5
5
  Home-page: https://github.com/django/asgiref/
6
6
  Author: Django Software Foundation
@@ -1,6 +1,6 @@
1
1
  [tox]
2
2
  envlist =
3
- py{38,39,310,311,312,313}-{test,mypy}
3
+ py{39,310,311,312,313,314}-{test,mypy}
4
4
  qa
5
5
 
6
6
  [testenv]
@@ -1 +0,0 @@
1
- __version__ = "3.9.1"
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