[issue9428] profile.py bug with the main file being profiled

2010-08-02 Thread Georg Brandl
Georg Brandl added the comment: Fixed (also for cProfile) in r83524. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue9428] profile.py bug with the main file being profiled

2010-07-30 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : Attached patch, profile-run.diff, fixes the same bug as in issue9323, only in the profile rather than the trace module. Even though the affected code is small, it may be a good idea to share it between the trace and profile modules as well as unify co