django1/django/utils
Matthew Somerville caa3562d5b Fixed #24242 -- Improved efficiency of utils.text.compress_sequence()
The function no longer flushes zfile after each write as doing so can
lead to the gzipped streamed content being larger than the original
content; each flush adds a 5/6 byte type 0 block. Removing this means
buf.read() may return nothing, so only yield if that has some data.
Testing shows without the flush() the buffer is being flushed every 17k
or so and compresses the same as if it had been done as a whole string.
2015-02-04 13:04:00 -05:00
..
2to3_fixes [py3] Added fixer for python_2_unicode_compatible. 2012-08-12 14:44:40 +02:00
translation Removed deprecated Chinese language codes; refs #18149. 2015-01-17 11:23:43 -05:00
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
_os.py Raised SuspiciousFileOperation in safe_join. 2014-11-11 19:05:14 +01:00
archive.py Fixed #22681 -- Made TarArchive recognize leading directories properly. 2014-06-03 12:00:33 -04:00
autoreload.py Removed threading fallback imports. 2015-01-28 10:23:25 -05:00
baseconv.py More attacking E302 violators 2013-11-02 13:12:09 -07:00
cache.py Fixed #20346 -- Made cache middleware vary on the full URL. 2013-12-28 11:20:18 -05:00
checksums.py Fixed #23613 -- Deprecated django.utils.checksums 2014-10-10 09:22:20 -04:00
crypto.py Fixed #23812 -- Changed django.utils.six.moves.xrange imports to range 2014-12-13 12:45:58 -05:00
datastructures.py Removed django.utils.datastructures.SortedDict per deprecation timeline. 2015-01-17 08:40:23 -05:00
dateformat.py Fixed all E226 violations 2013-11-03 10:08:55 -08:00
dateparse.py Fixed #2443 -- Added DurationField. 2014-12-20 18:28:29 +00:00
dates.py Correct flake8 violation E261 2013-11-02 15:27:47 -04:00
datetime_safe.py Fixed #23998 -- Added datetime.time support to migrations questioner. 2014-12-22 07:24:54 -05:00
deconstruct.py Fixed #23866 -- Harmonized refs to Django documentation from code 2014-12-25 13:53:13 +01:00
decorators.py Fixed typo in django/utils/decorators.py comment. 2014-11-24 10:45:29 -05:00
deprecation.py Advanced deprecation warnings for Django 1.9. 2015-01-19 12:22:41 -05:00
duration.py Fixed #2443 -- Added DurationField. 2014-12-20 18:28:29 +00:00
encoding.py Fixed #23968 -- Replaced list comprehension with generators and dict comprehension 2014-12-08 07:58:23 -05:00
feedgenerator.py Limited lines to 119 characters in django/ 2014-09-05 09:22:16 -04:00
formats.py Fixed #24149 -- Normalized tuple settings to lists. 2015-02-03 14:59:45 -05:00
functional.py Fixed #24252 -- Forced lazy __str__ to utf-8 on Python 2 2015-02-03 18:23:41 +01:00
html.py Removed compatibility with Python 3.2. 2015-01-17 09:00:17 -05:00
html_parser.py Removed compatibility with Python 3.2. 2015-01-17 09:00:17 -05:00
http.py Fixed is_safe_url() to handle leading whitespace. 2015-01-13 13:03:06 -05:00
ipv6.py Fixed #23812 -- Changed django.utils.six.moves.xrange imports to range 2014-12-13 12:45:58 -05:00
itercompat.py Fixed #20746 -- Removed Python 2.6 specific code/docs 2013-07-14 13:02:55 -04:00
jslex.py Added unicode_literals to the jslexer. 2014-10-15 15:09:35 +02:00
log.py Removed redundant numbered parameters from str.format(). 2014-12-03 14:27:38 -05:00
lorem_ipsum.py Limited lines to 119 characters in django/ 2014-09-05 09:22:16 -04:00
lru_cache.py Fixed typo in lru_cache.py; refs #21351. 2013-11-12 18:45:35 +01:00
module_loading.py Removed utils.module_loading.import_by_path() per deprecation timeline; refs #21674. 2015-01-18 12:51:15 -05:00
numberformat.py Fixed #23935 -- Converted decimals to fixed point in utils.numberformat.format 2014-12-03 07:49:06 -05:00
regex_helper.py Fixed typos in code comments. 2015-01-20 12:18:03 -05:00
safestring.py Fixed #23831 -- Supported strings escaped by third-party libs in Django. 2014-12-27 18:02:34 +01:00
six.py Updated six to 1.9.0. 2015-01-02 12:35:41 -05:00
synch.py Removed threading fallback imports. 2015-01-28 10:23:25 -05:00
termcolors.py Fixed #23968 -- Replaced list comprehension with generators and dict comprehension 2014-12-08 07:58:23 -05:00
text.py Fixed #24242 -- Improved efficiency of utils.text.compress_sequence() 2015-02-04 13:04:00 -05:00
timesince.py Correct flake8 E302 violations 2013-11-02 19:53:29 -04:00
timezone.py Simplified caching of get_default_timezone(). 2014-11-19 21:35:39 +01:00
tree.py Removed legacy ORM lookup support per deprecation timeline; refs #16187. 2015-01-19 11:11:30 -05:00
version.py Fixed #23866 -- Harmonized refs to Django documentation from code 2014-12-25 13:53:13 +01:00
xmlutils.py More attacking E302 violators 2013-11-02 13:12:09 -07:00