Drop support for Python 2.4
|Reported by:||Aymeric Augustin||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Support for Python 2.4 will be dropped in Django 1.4.
Attached patch updates the documentations wherever necessary and removes some dead code (ie. code that is unreachable in Python > 2.4).
- I haven't touched backwards compatibility in code in
django/util/unittest/loader.pybecause I prefer staying as close as possible to the standard library's version.
- I haven't removed
django/utils/hashcompat.pybecause some third-party apps may be using these models.
django/db/models/base.pymentions a "deepcopy problem in Python 2.4"; the code could probably be simplified now, but if it ain't broken, don't fix it.