#21765: Contexts cannot be compared for equality.
-------------------------------------+-------------------------------------
     Reporter:  Keryn Knight         |                    Owner:  nobody
  <django@…>                         |                   Status:  new
         Type:  New feature          |                  Version:  master
    Component:  Template system      |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:                       |      Needs documentation:  0
    Has patch:  0                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by Keryn Knight <django@…>):

 As an implementation detail, should any context subclass be considered
 equal if it's underlying dataset is the same, such that `Context({'x': 1})
 == RenderContext({'x': 1})` and vice versa, or should `type(x) == type(y)`
 in addition to `x.dicts == y.dicts`? It's unclear what the best course of
 action would be, given there's no expectation of equality except my own.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21765#comment:2>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/095.3b4731520d2065c32709b529f9170c3c%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to