#27382: Document that ugettext_lazy() result can't be used with arbitrary Python
code
-------------------------------+--------------------------------------
     Reporter:  Mike Edmunds   |                    Owner:  nobody
         Type:  Bug            |                   Status:  new
    Component:  Documentation  |                  Version:  1.10
     Severity:  Normal         |               Resolution:
     Keywords:  ugettext_lazy  |             Triage Stage:  Unreviewed
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by Mike Edmunds):

 * needs_better_patch:   => 0
 * has_patch:  0 => 1
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 Doc change: https://github.com/django/django/pull/7430

 (Aside: I did also explore changing ugettext_lazy() to test as an instance
 of text_type. It's not totally infeasible, but would probably cause at
 least as many problems as it would solve.
 https://github.com/medmunds/django/pull/1 if you're curious.)

--
Ticket URL: <https://code.djangoproject.com/ticket/27382#comment:1>
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/066.d3fda7a54afe7d46919757df8638f55f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to