django1/django/utils
Claude Paroz 3904b74a3f Fixed #18013 -- Use the new 'as' syntax for exceptions.
Thanks Clueless for the initial patch.
Note that unittest has been purposely left out (external package only used by Python 2.6).
2012-04-29 20:57:15 +02:00
..
translation Fixed #18040 -- Removed so-called project-level locale trees from the list of paths the translation loading process takes in account. 2012-03-31 22:24:24 +00:00
unittest Fixed #15828 -- Removed explicit implementation of empty setUp / tearDown methods. Backport of http://hg.python.org/unittest2/rev/3d33f92496fa. 2012-01-27 22:25:44 +00:00
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
_os.py Fixed a missing exception (`WindowsError`) when using the rmtree error handler on non-Windows systems. 2011-12-22 22:38:10 +00:00
archive.py Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
autoreload.py Fixed #10725 -- When the child process spawned by the autoreloader gets killed by a signal, passed the signal to the parent, in order to make debugging easier. 2011-12-30 14:12:31 +00:00
baseconv.py Switch to using explicit new-style division behavior, rather than relying on teh classic behavior. 2011-09-09 21:45:58 +00:00
cache.py Fixed #17476 -- Ensure timezone-dependant cache keys only use ASCII characters, especially on Windows. 2011-12-29 13:57:32 +00:00
checksums.py Fixed #5475 -- Added the Luhn check algorithm to django.utils.checksums so that 2007-10-20 13:40:20 +00:00
copycompat.py Re-added a few compatibility modules that were removed in r15927 to lower the impact on 3rd party apps. 2011-03-30 08:34:05 +00:00
crypto.py Improved get_random_string(). 2012-02-23 22:51:14 +00:00
daemonize.py Fixed #18013 -- Use the new 'as' syntax for exceptions. 2012-04-29 20:57:15 +02:00
datastructures.py Fixed #17634 -- Optimized the performance of MultiValueDict by using append instead of copy and by minimizing the number of dict lookups. Refs #736. 2012-02-09 18:41:20 +00:00
dateformat.py Updated a few localization formats to stop the changes done in r17473 from breaking the tests. 2012-02-10 01:13:29 +00:00
dateparse.py Negligible spacing cleanup in utils/dateparse.py 2011-12-17 02:31:34 +00:00
dates.py Fixed #9988 (again) -- Updated list of Associated Press months names to use a translation context. Thanks, Claude Paroz. 2011-01-21 22:25:50 +00:00
datetime_safe.py Fixed #12524 -- Clarified handling of pre-1000AD dates in datetime_safe (and thus, the serializers). Patch includes moving the datetime_safe tests into the utils regressiontests module. Thanks to gsf for the report and initial patch. 2010-02-13 14:02:32 +00:00
decorators.py Fixed #18013 -- Use the new 'as' syntax for exceptions. 2012-04-29 20:57:15 +02:00
dictconfig.py Fixed #18013 -- Use the new 'as' syntax for exceptions. 2012-04-29 20:57:15 +02:00
encoding.py Fixed #18013 -- Use the new 'as' syntax for exceptions. 2012-04-29 20:57:15 +02:00
feedgenerator.py Fixed #15237 (again). RSS feeds now include proper character encoding in the mimetype. Thanks shadow for the report and Michal Rzechonek for the patch. 2012-02-10 23:45:22 +00:00
formats.py Fixed 16938 -- Ensured that the active locale's formats take precedence over the default settings even if they would be interpreted as False in a conditional test (e.g. 0 or empty string). Thanks to pikerr for the report and initial patch. 2011-10-20 12:14:06 +00:00
functional.py Try to save memory and time when using lazy objects by refering to their function via the closure, and not making it an attribute on each instance. 2012-01-08 19:16:33 +00:00
hashcompat.py Fixed #16155 -- Removed Python 2.4 compatibility constructs from code and mentions from docs. Thanks Aymeric Augustin for the report and patch. 2011-06-09 20:01:28 +00:00
html.py Fixed #18071 -- Ignored case sensitivity in urlize utility. Thanks luke@creaturecreative.com and adamzap for the report and the patch. 2012-04-11 17:49:22 +00:00
html_parser.py Fixed #17730 - Renamed django.utils.htmlparser to django.utils.html_parser to avoid shadowing stdlib HTMLParser in rare case-sensitivity situations. Thanks un33k for the report and gldnspud for the patch. 2012-03-01 16:09:01 +00:00
http.py Removed some Python < 2.6 compatibility code. Refs #17965. 2012-03-30 09:20:04 +00:00
importlib.py Fixed #8193: all dynamic imports in Django are now done correctly. I know this because Brett Cannon borrowed the time machine and brought Python 2.7's '`importlib` back for inclusion in Django. Thanks for the patch-from-the-future, Brett! 2009-03-18 16:55:59 +00:00
ipv6.py Fixed #811 -- Added support for IPv6 to forms and model fields. Many thanks to Erik Romijn. 2011-06-11 13:48:24 +00:00
itercompat.py Fixed #17965 -- Definitely dropped support for Python 2.5. Thanks jonash for the initial patch and Aymeric Augustin for the review. 2012-03-31 08:24:29 +00:00
jslex.py Fixed #16971 - Made the parsing of javascript files by 'makemessages' much faster. Thanks Antti Haapala for the implementation and Ned Batchelder for the patch. 2011-10-04 20:11:41 +00:00
log.py Fixed AdminEmailHandler to format the subject message correctly when arguments are passed. 2012-02-12 12:19:02 +00:00
module_loading.py Fixed #15525 -- Custom template tags loading breaks whenever templatetags is a python file 2011-08-28 02:37:16 +00:00
numberformat.py Fixed #17414 -- Prevented numberformat from trying to group digits when the number of digits per group is zero. 2011-12-24 11:01:57 +00:00
regex_helper.py Fixed #17492 -- Allow reversal of named backreferences. Thanks nate_b 2012-01-03 22:49:13 +00:00
safestring.py Fixed #6071 -- Fixed another infinite recursion problem in SafeString and 2007-12-02 20:17:10 +00:00
simplejson.py Fixed #18023 -- Removed bundled simplejson. 2012-04-29 19:58:00 +02:00
synch.py Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
termcolors.py Fixed #12849 -- Corrected the way strings are encoded for display by the colorizer so that they work with unicode. Thanks to jype for the report, and frasern for his work on the issue. 2010-03-18 13:24:11 +00:00
text.py Whitespace formatting 2012-04-28 14:58:11 -04:00
timesince.py Fixed #17937 -- Avoided an error in the timeuntil filter when it receives a date object. Thanks Dmitry Guyvoronsky for the report. 2012-03-22 07:29:39 +00:00
timezone.py Simplified timezones tests with settings_changed. 2012-04-29 16:03:46 +02:00
tree.py Removed a bunch more Python 2.4 workarounds now that we don't support that version. Refs #15702 -- thanks to jonash for the patch. 2011-03-28 02:11:19 +00:00
tzinfo.py Added support for time zones. Thanks Luke Plant for the review. Fixed #2626. 2011-11-18 13:01:06 +00:00
version.py Moved version code out of __init__.py. 2012-04-29 13:44:32 -05:00
xmlutils.py Eliminated lots of mutable default arguments (since they are bugs 2006-06-03 13:37:34 +00:00