Tapping into the access of an int instance

Ben Finney bignose+hates-spam at benfinney.id.au
Thu Sep 20 18:02:05 EDT 2007


"Tor Erik Sønvisen" <torerik81 at gmail.com> writes:

> Does anyone know how to interrupt the lookup of an integer value?

AFAIK, int values *aren't* "looked up", in my understanding of that
term.

Can you explain what events you want to intercept?

> Below is how far I've come... What I want is to tap into the access
> of instance i's value 1...

In many senses "instance i" *is* "value 1".

What "access" do you want to intercept? Can you show some code
examples of things that you would expect to trigger this "access"?
Also, some similar events involving the instance that would *not*
trigger the same thing.

-- 
 \       "The generation of random numbers is too important to be left |
  `\                                 to chance."  -- Robert R. Coveyou |
_o__)                                                                  |
Ben Finney



More information about the Python-list mailing list