#23976: ValidationError crashes if initialized with a list of empty dicts
-------------------------------------+-------------------------------------
     Reporter:  archivarius888       |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Core (Other)         |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  exceptions,          |             Triage Stage:  Accepted
  ValidationError                    |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Adam Zapletal):

 I've confirmed that the crash no longer happens on both `v2.0.7` and
 `master` on Mac OS 10.13.5 with Python 3.7.0:

 {{{
 In [1]: import django

 In [2]: django.__version__
 Out[2]: '2.0.7'

 In [3]: from django.core.exceptions import ValidationError

 In [4]: ValidationError([{}])
 Out[4]: ValidationError([])
 }}}

 {{{
 In [1]: import django

 In [2]: django.__version__
 Out[2]: '2.2.dev20180711212029'

 In [3]: from django.core.exceptions import ValidationError

 In [4]: ValidationError([{}])
 Out[4]: ValidationError([])
 }}}

 Can this ticket be closed?

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

Reply via email to