Re: check for a certain Python version

2011-12-20 Thread Steven D'Aprano
On Tue, 20 Dec 2011 14:33:37 +0100, Ulrich Eckhardt wrote: > Hi! > > I'd like to give my users a meaningful error message when they are using > obsolete Python versions. Is there some kind of best practice or recipe > for that? Specifically, the case is a bunch of unittests that use > features ne

Re: check for a certain Python version

2011-12-20 Thread Roy Smith
In article , Ulrich Eckhardt wrote: > Hi! > > I'd like to give my users a meaningful error message when they are using > obsolete Python versions. Is there some kind of best practice or recipe > for that? Specifically, the case is a bunch of unittests that use > features new to Python 2.7.

check for a certain Python version

2011-12-20 Thread Ulrich Eckhardt
Hi! I'd like to give my users a meaningful error message when they are using obsolete Python versions. Is there some kind of best practice or recipe for that? Specifically, the case is a bunch of unittests that use features new to Python 2.7. Thank you! Uli -- http://mail.python.org/mailman