Opened 13 years ago

Closed 12 years ago

Last modified 10 years ago

#4830 closed defect (fixed)

NameError: global name 'sorted' is not defined on python 2.3

Reported by: trac-hacks@… Owned by: Steffen Hoffmann
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords: compatibility python2.3
Cc: Trac Release: 0.11


I had to apply the patch in #3760 to and then it was happy.

Attachments (0)

Change History (4)

comment:1 Changed 12 years ago by Steffen Hoffmann

(In [9289]) AccountManagerPlugin: Don't care about Python2.3 compatibility for future development, refs #4830.

Hint: Trac 0.13dev finally dropped even Python2.4 compatibility to past the limitation, that with statements are not supported before Python2.5 .

comment:2 Changed 12 years ago by Steffen Hoffmann

Keywords: compatibility python2.3 added
Owner: changed from Matt Good to Steffen Hoffmann

If you really need to use operation systems with an Python version older then 2.5, you're in serious trouble for other reasons as well. Even Debian GNU/Linux, that sets a very conservative standard for software versions, has Python2.5 these days.

While I'll not stand it in trunk anymore, I'll allow and correct it in 0.10 and 0.11 branch. But beware, as with the next big merge from trunk to 0.11 branch this might be gone there forever as well.

comment:3 Changed 12 years ago by Steffen Hoffmann

Resolution: fixed
Status: newclosed

(In [9290]) AccountManagerPlugin: Correct Python2.3 compatibility import in 0.10 and 0.11 branch, closes #4830.

comment:4 Changed 10 years ago by Steffen Hoffmann

(In [11950]) AccountManagerPlugin: Revert change in [9290] for 0.10 branch, refs #4830 and #10282.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Steffen Hoffmann.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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

Note: See TracTickets for help on using tickets.