#36388: QuerySet.union no longer supports empty args
-------------------------------------+-------------------------------------
     Reporter:  Antoine Humeau       |                    Owner:  (none)
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  5.2
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Simon Charette):

 Thanks for the report and triage folks. I think it's worth fixing by
 having `QuerySet.union` return `self` if `not other_qs` given it's a non-
 invasive patch and dealing with empty sequence in a different manner would
 be annoyance.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36388#comment:4>
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 visit 
https://groups.google.com/d/msgid/django-updates/01070196c9ff627b-4ff4053b-ff1e-4eea-8d44-cee76a82ee04-000000%40eu-central-1.amazonses.com.

Reply via email to