Document which Python versions show subtle QuerySet bugs
|Reported by:||Jacob||Owned by:||nobody|
|Has patch:||no||Needs documentation:||yes|
|Needs tests:||no||Patch needs improvement:||no|
http://bugs.python.org/issue1242657 continually bites users of Django: see #14766, #2705, #13204, #7786. Also see http://groups.google.com/group/django-developers/browse_thread/thread/cf2b76a9b69f794c/ac09404089bfd185.
The basic problem is that certain versions of Python swallow exceptions in
__len__, causing various weird QuerySet behaviors. We've mostly worked around these in the test suite by skipping tests on particular Python versions, but this doesn't help users who see weird stuff on their side.
We need to add some sort of "Python version notes" document (similar to the database notes) that document this problem (and another others we know of). We should probably also add a link to the install notes to pre-warn people on OSX -- one of the affected versions is the Python that ships with 10.6.