Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#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.

Change History (1)

comment:1 by Russell Keith-Magee, 19 years ago

Resolution: fixed
Status: newclosed

(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.

Note: See TracTickets for help on using tickets.
Back to Top