Ticket #1142: py23_set_fix_28feb07.diff
File py23_set_fix_28feb07.diff, 570 bytes (added by , 18 years ago) |
---|
-
django/db/models/manager.py
11 11 # Import copy of _thread_local.py from Python 2.4 12 12 from django.utils._threading_local import local 13 13 14 # For Python 2.3 15 if not hasattr(__builtins__, 'set'): 16 from sets import Set as set 17 14 18 # Size of each "chunk" for get_iterator calls. 15 19 # Larger values are slightly faster at the expense of more storage space. 16 20 GET_ITERATOR_CHUNK_SIZE = 100