#24559: MigrationLoader.load_disk ImportError handling differs under py3/pypy vs
py2
------------------------------+------------------------------------
     Reporter:  Keryn Knight  |                    Owner:  nobody
         Type:  Bug           |                   Status:  new
    Component:  Migrations    |                  Version:  master
     Severity:  Normal        |               Resolution:
     Keywords:                |             Triage Stage:  Accepted
    Has patch:  1             |      Needs documentation:  0
  Needs tests:  0             |  Patch needs improvement:  0
Easy pickings:  0             |                    UI/UX:  0
------------------------------+------------------------------------
Changes (by Jon Dufresne):

 * has_patch:  0 => 1


Comment:

 https://github.com/django/django/pull/12756

 Python 2 is no longer suported, but this bug report shows why inspecting
 an exception's message isn't a stable API. The above PR changes the code
 to use the exception type and its "name" property.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/24559#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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.0ed2acc5638aa7fbeaaa53c4ecf09990%40djangoproject.com.

Reply via email to