chenqingyu / auto-sub

Automatically exported from code.google.com/p/auto-sub
0 stars 0 forks source link

Python 2.5 requires with statement #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Auto Sub will not work under Python 2.5.x because it does not support the with 
statement entirely.

The following line is required in the Config.py to make it work under python 
2.5:
from __future__ import with_statement

Please add the mechanism that Python 2.5 is detected and this with_statement is 
imported. Any other version should skip.

Recommended is to use Python 2.6 or better, however because Python 2.5 is still 
commonly present on todays stable distro's. Keeping support for it as much as 
possible would help allot.

Original issue reported on code.google.com by min...@gmail.com on 28 Oct 2011 at 11:49

GoogleCodeExporter commented 9 years ago
fixed in release 0.3.2

Original comment by min...@gmail.com on 9 Nov 2011 at 11:39