#30546: isinstance() call on SimpleLazyObject doesn't swallow evaluation 
on Python3.
     Reporter:  SÅ‚awek Ehlert        |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Utilities            |                  Version:  master
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:  SimpleLazyObject     |             Triage Stage:  Accepted
  lazy evaluation                    |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
Changes (by felixxm):

 * status:  new => closed
 * version:  2.2 => master
 * resolution:   => wontfix
 * stage:  Unreviewed => Accepted


 Thanks for the report. I was able to reproduce this issue, but to be
 honest Python3 behavior looks more correctly to me. In both cases
 `isinstance()` evaluates an objects, so it is not a matter of laziness. We
 could accept this as a bug for Python2, but first of all this doesn't
 qualify for a backport and secondly fixing this on Python2 is not what you

Ticket URL: <https://code.djangoproject.com/ticket/30546#comment:3>
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 
For more options, visit https://groups.google.com/d/optout.

Reply via email to