Re: [Django] #31852: Support async generators in StreamingHttpResponse

2023-01-28 Thread Django
#31852: Support async generators in StreamingHttpResponse
---+--
 Reporter:  Axel Hecht |Owner:  nobody
 Type:  New feature|   Status:  closed
Component:  HTTP handling  |  Version:  3.1
 Severity:  Normal |   Resolution:  needsinfo
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by Simon Charette):

 Isn't this supported in 4.2 via (0bd2c0c9015b53c41394a1c0989afbfd94dc2830)
 #33735?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070185fb904192-e3056a50-e296-4041-b7a3-ebaec54cb5cc-00%40eu-central-1.amazonses.com.


Re: [Django] #31852: Support async generators in StreamingHttpResponse

2023-01-28 Thread Django
#31852: Support async generators in StreamingHttpResponse
---+--
 Reporter:  Axel Hecht |Owner:  nobody
 Type:  New feature|   Status:  closed
Component:  HTTP handling  |  Version:  3.1
 Severity:  Normal |   Resolution:  needsinfo
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by Tim Graham):

 #34300 requested this again, pointing to an implementation at
 ​https://pypi.org/project/django-async-stream/.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070185fb5865ce-e37e1321-f404-429f-9053-6f7800c34b2c-00%40eu-central-1.amazonses.com.


Re: [Django] #31852: Support async generators in StreamingHttpResponse

2020-08-06 Thread Django
#31852: Support async generators in StreamingHttpResponse
---+--
 Reporter:  Axel Hecht |Owner:  nobody
 Type:  New feature|   Status:  closed
Component:  HTTP handling  |  Version:  3.1
 Severity:  Normal |   Resolution:  needsinfo
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by Andrew Godwin):

 We definitely should expand to add this, but async generators are quite
 tough to support across a range of Python versions; they get increasingly
 better to use every version. I think the best approach here would be an
 exploratory patch to see what we can get that looks reasonable given
 Django's current supported Python versions - 3.6 might be a high enough
 baseline (3.5 is very problematic), but it might be a thing that's easier
 in a future 3.7+ release.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.0218f2c5535999526e29735ad19d206b%40djangoproject.com.


Re: [Django] #31852: Support async generators in StreamingHttpResponse

2020-08-04 Thread Django
#31852: Support async generators in StreamingHttpResponse
---+--
 Reporter:  Axel Hecht |Owner:  nobody
 Type:  New feature|   Status:  closed
Component:  HTTP handling  |  Version:  3.1
 Severity:  Normal |   Resolution:  needsinfo
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by Carlton Gibson):

 * cc: Andrew Godwin (added)
 * status:  new => closed
 * resolution:   => needsinfo
 * type:  Uncategorized => New feature


Comment:

 Yes, this is probably something we should take as a new feature, but it's
 a little undefined at the moment.

 Can I point you to the Forum Async topic:
 
https://forum.djangoproject.com/c/internals/async/8https://forum.djangoproject.com/c/internals/async/8
 That's a good place to discuss it, and get fleshed out what would be
 required.

 I'll cc Andrew, as maybe he already has thoughts.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.cc7c889a002eed0bd6f092a6886a4dcb%40djangoproject.com.


[Django] #31852: Support async generators in StreamingHttpResponse

2020-08-04 Thread Django
#31852: Support async generators in StreamingHttpResponse
-+
   Reporter:  Pike   |  Owner:  nobody
   Type:  Uncategorized  | Status:  new
  Component:  HTTP handling  |Version:  3.1
   Severity:  Normal |   Keywords:
   Triage Stage:  Unreviewed |  Has patch:  0
Needs documentation:  0  |Needs tests:  0
Patch needs improvement:  0  |  Easy pickings:  0
  UI/UX:  0  |
-+
 The DEP for async menytions that async generators should be supported in
 StreamingHttpResponse.

 After some digging, it seems that at least StreamingHttpResponse itself
 and ASGIHandler.send_response need changes to support that?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/047.15cf39632d9230d22a367ea7c28f5a54%40djangoproject.com.