Code

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1363 closed defect (fixed)

Python 2.3-ism in magic-removal

Reported by: Esaj Owned by: adrian
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: UI/UX:

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.

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.