#9585: r9398 broke test suite on Python2.3/2.4
----------------------------------------+-----------------------------------
Reporter: kmtracey | Owner: nobody
Status: new | Milestone:
Component: Testing framework | Version: 1.0
Resolution: | Keywords:
Stage: Ready for checkin | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
----------------------------------------+-----------------------------------
Changes (by mtredinnick):
* stage: Unreviewed => Ready for checkin
Comment:
This is the right fix. The return result is intended to be treated like a
tuple (partly precisely for backwards-compatibility with earlier Python
code). I would prefer to use "4" instead of "-2" for the query access,
though, since then you're not relying on the length of the tuple (and "4"
is the documented value).
--
Ticket URL: <http://code.djangoproject.com/ticket/9585#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---