Easy way to check modules for python version compatibility?

2005-03-04 Thread Stephen Toledo-Brown
Given some Python source, is there any tool which can tell the mimimum level of Python required to run that source? If I distribute some code, I need to be able to say which level of Python users require to run it. -- Steve Toledo-Brown Speaking for myself only. Humans please use domain

Re: Easy way to check modules for python version compatibility?

2005-03-04 Thread [EMAIL PROTECTED]
I do not think there's a direct way of telling it - but you can try to catch a DeprecationWarning, that is issued by most code deprecated modules -- http://mail.python.org/mailman/listinfo/python-list