#8078 closed (fixed)
sets module deprecated in Python 2.6
Description ¶
django/contrib/admin/options.py imports sets, which causes a deprecation warning in Python 2.6. I'll attach a patch that uses set if available and only falls back to sets if necessary. Tested on Python 2.3.5, 2.5.1, and 2.6b2.
Change History (6)
by , 17 years ago
comment:1 by , 17 years ago
Keywords: | python26 added |
---|
comment:2 by , 17 years ago
Has patch: | set |
---|
comment:3 by , 17 years ago
milestone: | → 1.0 beta |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
comment:4 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [8192]) Fixed #8078 -- Fixed a Python 2.3 incompatibility in
contrib/admin/options.py
, thanks Karen Tracey.