Opened 14 years ago
Closed 14 years ago
#14086 closed (fixed)
Tests don't pass on Python 2.4 because of a try/except/finally
Reported by: | Paul McMillan | Owned by: | nobody |
---|---|---|---|
Component: | contrib.sessions | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Design decision needed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
We still can't use unified try/except/finally blocks because we support Python 2.4.
Contrib tests currently have at least one such statement, and so they fail.
http://code.djangoproject.com/browser/django/trunk/django/contrib/sessions/tests.py
Change History (5)
comment:1 by , 14 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 14 years ago
The reason you can't find the relevant docs is because they don't seem to exist. Nothing has been publicly announced related to this matter (hence the bug report). I've raised the matter on the dev list, rather than re-opening this ticket.
comment:3 by , 14 years ago
You're right. Sorry, I should have probably asked first on django-dev myself.
comment:4 by , 14 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Triage Stage: | Unreviewed → Design decision needed |
Reopening; until such time as we make a decision to deprecate Python 2.4, this remains an issue.
comment:5 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
I can't find the relevant docs right now, but AFAIK Django 1.3 (aka current trunk) will stop supporting Python 2.4 as a part of the process to support Python3 some day. I checked that tests on 1.2.X branch run without problems. Thanks for your caution!