Modify ↓
Ticket #1096 (closed defect: worksforme)
SyntaxError on python2.5 with Firebird driver
| Reported by: | admackin@… | Owned by: | andrew |
|---|---|---|---|
| Priority: | major | Milestone: | 1.0 |
| Component: | commands | Version: | unknown |
| Keywords: | Cc: |
Description
AFAICT South targets Python 2.4 (presumably once Django 1.5 is released it will follow Django in no longer support 2.4 or 2.5). However in the Firebird driver, there is some syntax only available in python 2.6 and above.
(I'm using Jython for various reasons, so can only get 2.5 support at the moment)
Running setup.py install for south
File "/var/django-sites/icaredemo/jython-venv/Lib/site-packages/south/db/firebird.py", line 288
except DatabaseError as e:
^
SyntaxError: mismatched input 'as' expecting COLON
Presumably this should be except DatabaseError as e: until support for python 2.5 is dropped..
Attachments
Change History
comment:2 Changed 13 months ago by andrew
- Status changed from new to closed
- Resolution set to worksforme
- Milestone set to 1.0
This seems to have already been fixed [eeb66823f1a4].
Note: See
TracTickets for help on using
tickets.

(version 0.7.5 btw - can't get Trac to let me modify)