#1363 closed defect (fixed)
Python 2.3-ism in magic-removal
Reported by: | Esaj | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | Core (Other) | Version: | magic-removal |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Need to add this:
# For Python 2.3 if not hasattr(__builtins__, 'set'): from sets import Set as set
to django/db/models/query.py
.
Note:
See TracTickets
for help on using tickets.
(In [2314]) magic-removal: Fixes #1363 -- Moved a Python2.3 declaration of set from base to query, following the refactoring of delete code. Thanks, Esaj.