Ticket #3598 (closed defect: fixed)
TestCase.flushWarnings shouldn't use source files to implement its "offendingFunctions" feature
| Reported by: | exarkun | Owned by: | exarkun |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | trial | Keywords: | |
| Cc: | Branch: | branches/findlinestarts-3598 | |
| Author: | exarkun | Launchpad Bug: |
Description
Using source files to determine which function a warning was emitted from is unreliable. It fails if:
- The source file is missing
- The source file is out of date with the bytecode file
- It's kind of slow
dis.findlinestarts can provide the necessary information and is now public.
Change History
Note: See
TracTickets for help on using
tickets.
