On Wed, Jan 30, 2019 at 3:43 AM Jonathan Fine <jfine2358@gmail.com> wrote:
I think Steve's suggestion fails in this situation. Suppose wibble.py
contains a function fn. Now do
   import wibble
   fn = wibble.fn
   # Modify and save wibble.py
   reload(wibble)
   fn()

Sure -- but this is just a warning that there *might* be an issue -- if a user doesn't get the warning in some cases (particularly cases in which they have used an "advanced" feature like reload) we aren't any worse off.

+1 on the idea -- I don't see a downside.

-CHB

--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker@noaa.gov