Code

Opened 3 years ago

Closed 13 months ago

#15867 closed New feature (wontfix)

Document which Python versions show subtle QuerySet bugs

Reported by: jacob Owned by: nobody
Component: Documentation Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: yes
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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.

Attachments (0)

Change History (4)

comment:1 Changed 3 years ago by jacob

  • milestone 1.4 deleted

Milestone 1.4 deleted

comment:2 Changed 2 years ago by aaugustin

  • UI/UX unset

Change UI/UX from NULL to False.

comment:3 Changed 2 years ago by aaugustin

  • Easy pickings unset

Change Easy pickings from NULL to False.

comment:4 Changed 13 months ago by timo

  • Resolution set to wontfix
  • Status changed from new to closed

Closing given the lack of activity here and the fact that this was an issue on Python 2.6 which won't be supported in Django 1.7.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.