Author ppperry
Recipients ppperry
Date 2017-07-22.12:50:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500727831.57.0.777794469243.issue30990@psf.upfronthosting.co.za>
In-reply-to
Content
If you create a file called `inputtest.py` with the contents `input.__call__()`, and run the built-in profile module on it, it doesn't notice the call to `input`, and produces a report not including that call.
         4 function calls in 0.000 seconds

   Ordered by: standard name

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1    0.000    0.000    0.000    0.000 :0(exec)
        1    0.000    0.000    0.000    0.000 :0(setprofile)
        1    0.000    0.000    0.000    0.000 inputtest.py:1(<module>)
        1    0.000    0.000    0.000    0.000 profile:0(<code object <module> at 0x00000000029880C0, file "inputtest.py", line 1>)
        0    0.000             0.000          profile:0(profiler)
History
Date User Action Args
2017-07-22 12:50:31ppperrysetrecipients: + ppperry
2017-07-22 12:50:31ppperrysetmessageid: <1500727831.57.0.777794469243.issue30990@psf.upfronthosting.co.za>
2017-07-22 12:50:31ppperrylinkissue30990 messages
2017-07-22 12:50:31ppperrycreate