This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: profile.py bug with the main file being profiled
Type: behavior Stage: patch review
Components: Library (Lib) Versions: Python 3.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: belopolsky Nosy List: belopolsky, georg.brandl
Priority: normal Keywords: easy, patch

Created on 2010-07-30 15:20 by belopolsky, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
profile-run.diff belopolsky, 2010-07-30 15:20
Messages (2)
msg112085 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2010-07-30 15:20
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 command line interfaces.  See also issue9325.
msg112452 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-08-02 12:20
Fixed (also for cProfile) in r83524.
History
Date User Action Args
2022-04-11 14:57:04adminsetgithub: 53674
2010-08-02 12:20:45georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg112452

resolution: fixed
2010-07-30 15:20:15belopolskycreate