Topshelf doesn't work with Python 2.4
Bug #183605 reported by
Siegfried Gevatter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
TopShelf |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
Topshelf doesn't work with Python 2.4. Run it like this «python2.4 ./topshelf.py» to test it.
I'll attach a patch with two little changes to replace the use of the "var = x if y else z" as it isn't compatible with it. The lambda's used aren't compatible neither, but I leave them for you as I don't know how to replace them... :P
It would be great if you could fix this as it would allow a lot of people that are still using 2.4 to use your application.
To post a comment you must log in.
Good idea, thanks.
The A if x else B are easy to fix, no problem (no need to write the patch, I'll do it). I'm confused about the lambda functions - these were present in 2.4, IIRC, so they should already run fine. I'll check to make sure.