[Pydev-code] querying pydev version in pydev scripting
Brought to you by:
fabioz
From: Joel H. <yo...@if...> - 2006-04-19 12:07:20
|
Hi! Is there a way of determining the pydev version from within a pydev Jython script? That could provide cleaner code for bug workarounds, I think. For example, if you'd see something like this in a script: if version < (1,0,6): do_strange_and_possibly_conditional_stuff you'd probably not get confused by the strange stuff since it quite obviously is a workaround for problems in earlier versions. Cheers! /Joel |