Ticket #2463 (closed defect: fixed)
Failing Tests On Python 2.4
| Reported by: | pedersen | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1b2 |
| Component: | TurboGears | Version: | 2.1a3 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
TG2.1a3 fails to run on Python 2.4 due to a ternary operator. Patch at http://bitbucket.org/pedersen/tg-dev/changeset/e255e7a4a99e/ gets the tests passing for 2.4.
The second part of that patch fixes an issue with the super operator in 2.4. In 2.4, Exception is an old style class. super requires new style classes to work. The only real fix was to remove the call to super.
Change History
Note: See
TracTickets for help on using
tickets.
Partially applied in http://bitbucket.org/turbogears/tg-dev/changeset/2b1d48f1ffa5/ (I fixed the second issue a little bit differently earlier today). Thanks for the patch!