#4830 closed defect (fixed)
NameError: global name 'sorted' is not defined on python 2.3
Reported by: | Owned by: | Steffen Hoffmann | |
---|---|---|---|
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 14 years ago by
comment:2 Changed 14 years ago by
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 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [9290]) AccountManagerPlugin: Correct Python2.3 compatibility import in 0.10 and 0.11 branch, closes #4830.
comment:4 Changed 12 years ago by
(In [11950]) AccountManagerPlugin: Revert change in [9290] for 0.10
branch, refs #4830 and #10282.
(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 .