How to inspect a variable (sys.modules) for changes in the executionof a program?

Discussion in 'Python' started by Jorge Vargas, Feb 15, 2011.

  1. Jorge Vargas

    Jorge Vargas Guest

    Hello,

    I have the following situation. In a big project that involves many
    dependencies (and sadly some sys.module hacks) we have a bug, and it
    will really help if i could monitor all changes made to that variable.
    Is there a way to trace those changes ?
     
    Jorge Vargas, Feb 15, 2011
    #1
    1. Advertising

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. Ronald Meier
    Replies:
    2
    Views:
    1,539
    Keith S.
    Oct 21, 2003
  2. Remy Cool
    Replies:
    1
    Views:
    444
    Remy Cool
    Aug 27, 2003
  3. Roman Neuhauser
    Replies:
    0
    Views:
    677
    Roman Neuhauser
    Apr 4, 2005
  4. Replies:
    2
    Views:
    678
    velle
    Jan 5, 2006
  5. deluxstar
    Replies:
    5
    Views:
    884
    Terry Reedy
    Sep 25, 2010
Loading...

Share This Page