News for hackers. Stuff that matters.
Re:Django 3 by andrewgodwin on Monday December 02, 2019 @11:19AM (#21683800)
I'd love to hear your suggestions for changes we could make while keeping it somewhat WSGI-compatible. It took a few years to refine it to where it is now, so it's not like we just threw something at the wall.
Re:Django 3 by jxcl on Monday December 02, 2019 @12:35PM (#21684600)
It's much easier to say stuff sucks than to actually get a huge project like this shipped. Thanks so much for your hard work Andrew + team!
Re:Django 3 by 904baf11 on Monday December 02, 2019 @11:20AM (#21683810)
> while keeping it somewhat WSGI-compatible

There's the problem. WSGI is fundamentally flawed too - it could also be using generators for a two-way communication channel instead of stringly typed callbacks.

In a world where Python has optional static type hints, it would be nice to have concrete objects passed too.

Re:Django 3 by orf on Monday December 02, 2019 @11:39AM (#21684027)
Can you expand on the stringly typed callbacks? Where are they required? Are you referring to string keys in a callback dictionary, in which case stringly-typed seems a bit of an odd choice of words.
Re:Django 3 by 904baf11 on Monday December 02, 2019 @11:49AM (#21684128)
Calling the receive async function gets you a dictionary with a string type key, which defines the layout of the dictionary. It's not nice.