#28129: Allow custom template tags to accept keyword only arguments
-------------------------------------+-------------------------------------
     Reporter:  Alexander            |                    Owner:  nobody
  Allakhverdiyev                     |
         Type:  New feature          |                   Status:  new
    Component:  Template system      |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  template,inspect     |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Alexander Allakhverdiyev):

 It was deprecated in python 3.5, but they had changed their mind in 3.6

 Check out the description of this function specifically for 3.6 (and
 3.7dev too)
 https://docs.python.org/3.6/library/inspect.html#inspect.getfullargspec

 > Changed in version 3.6: This method was previously documented as
 deprecated in favour of signature() in Python 3.5, but that decision has
 been reversed in order to restore a clearly supported standard interface
 for single-source Python 2/3 code migrating away from the legacy
 getargspec() API.

--
Ticket URL: <https://code.djangoproject.com/ticket/28129#comment:5>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.e945f2904e82e0f7874b9a2de308c5bb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to