#30755: Arguments to django.views.generic.base.View.as_view()
-------------------------------+-----------------------------------------
     Reporter:  David Szotten  |                    Owner:  nobody
         Type:  New feature    |                   Status:  closed
    Component:  Generic views  |                  Version:  master
     Severity:  Normal         |               Resolution:  needsinfo
     Keywords:  typing         |             Triage Stage:  Someday/Maybe
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+-----------------------------------------
Changes (by Carlton Gibson):

 * status:  new => closed
 * keywords:   => typing
 * version:  2.2 => master
 * resolution:   => needsinfo
 * stage:  Unreviewed => Someday/Maybe


Comment:

 > Django doesn't support typing yet...

 Yeah, I think this is the one.

 Type hints seem to have come on a long way in recent versions. The
 benefits seem to be summing up. So I'm sure they'll come to Django.

 But at current state of play, I'd be **very surprised** if `as_view()`
 raised a `TypeError` here for that.

 I'll mark this as Someday/Maybe but close it as `needsinfo`: all things
 typing are dependent on a DEP being produced and agreed on.
 [https://groups.google.com/d/topic/django-
 developers/trTEbURFhEY/discussion There's a mailing list discussion for
 that]. I'd rather keep everything together there until we have a path
 forward.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30755#comment:4>
Django <https://code.djangoproject.com/>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.bba9db629396db371b0615dcf4798b25%40djangoproject.com.

Reply via email to