#22839: Many to many hasattr check fails with python 3
-------------------------------------+-------------------------------------
Reporter: web-chib@… | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Database layer | Version: 1.6
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by collinanderson):
* status: new => closed
* cc: cmawebsite@… (added)
* resolution: => invalid
Comment:
As linovia said, hasattr returns False on all exceptions on python 2, and
only returns False on AttributeError on python 3. Feel free to reopen if
that isn't the issue.
--
Ticket URL: <https://code.djangoproject.com/ticket/22839#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/072.1d6ce97c138685fc57b8e7b2c6224705%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.