#25825: Template Origin is missing an __ne__ implementation
-------------------------------+--------------------
Reporter: jaap3 | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
On Python 2.7 a template Origin can be both equal and not equal at the
same time due to a missing __ne__ implementation.
{{{
>>> a = self.engine.get_template('index.html')
>>> b = self.engine.get_template('index.html')
>>> a.origin == b.origin
True
>>> a.origin != b.origin
True
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25825>
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/048.8579ebbaf7bf5cf5154127cc5330a2bf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.