pombreda / lepl

Automatically exported from code.google.com/p/lepl
Other
0 stars 0 forks source link

Support Python 2.5 #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I think it should be possible to port to 2.5 before doing th efirst
non-beta release.  The ABC will need to be made optional, and with
statements must be imported from __future__, but apart from that I don't
expect any major issues.

Original issue reported on code.google.com by acooke....@gmail.com on 31 Jan 2009 at 10:42

GoogleCodeExporter commented 9 years ago
OK, so it's not that simple.  Issues include:
* No ABCs (fixed by gross hack)
* No property.setter decorator (think fixed by defining extra class)
* No heapq.heappushpop (defined in terms of heapreplace)
* No except Exception as e (used sys.exc_info instead)
* No {} formatting (at this point I gave up).
This is too much work for now.  If this becomes hugely popular, look again.

Original comment by acooke....@gmail.com on 1 Feb 2009 at 1:57