Modify

Opened 5 years ago

Closed 4 years ago

Last modified 2 years ago

#4830 closed defect (fixed)

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

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

Description

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

Attachments (0)

Change History (4)

comment:1 Changed 4 years ago by hasienda

(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 4 years ago by hasienda

  • Keywords compatibility python2.3 added
  • Owner changed from mgood to hasienda

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 4 years ago by hasienda

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:4 Changed 2 years ago by hasienda

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.