Easy way to check modules for python version compatibility?

Discussion in 'Python' started by Stephen Toledo-Brown, Mar 4, 2005.

  1. 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 uk.ibm.com
     
    Stephen Toledo-Brown, Mar 4, 2005
    #1
    1. Advertisements

  2. Stephen Toledo-Brown

    Guest

    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
     
    , Mar 4, 2005
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ryan Stewart
    Replies:
    11
    Views:
    1,263
    Ryan Stewart
    Jan 26, 2004
  2. kathy
    Replies:
    3
    Views:
    805
  3. Bruno Desthuilliers
    Replies:
    5
    Views:
    584
    Bruno Desthuilliers
    Aug 29, 2007
  4. MowGreen [MVP]
    Replies:
    5
    Views:
    2,378
    PA Bear [MS MVP]
    Feb 9, 2008
  5. dmitrey
    Replies:
    3
    Views:
    473
    Steve Ferg
    Jun 22, 2009
  6. George Mochrie

    easy way to check if a pid is running?

    George Mochrie, Aug 25, 2004, in forum: Ruby
    Replies:
    5
    Views:
    314
    George Mochrie
    Aug 26, 2004
  7. Nate Wiger
    Replies:
    0
    Views:
    153
    Nate Wiger
    Oct 20, 2006
  8. Derek Fountain

    Quick and easy way to check a port

    Derek Fountain, Jul 29, 2005, in forum: Perl Misc
    Replies:
    1
    Views:
    181
    Josef Moellers
    Aug 1, 2005
Loading...