Message73689
| Author | vstinner |
|---|---|
| Recipients | vstinner |
| Date | 2008-09-24.01:22:06 |
| SpamBayes Score | 4.973293e-06 |
| Marked as misclassified | No |
| Message-id | <1222219328.76.0.602702790572.issue3952@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Example to reproduce the bug (using Python trunk):
---
from gc import collect
import _lsprof
def callMethod(obj):
obj.clear()
collect()
obj = _lsprof.Profiler()
obj.enable()
callMethod(obj)
obj.enable()
del obj
collect()
---
The problem is that the profiler is still running when exiting
callMethod() and so it tries to use callMethod context which was
free'd just before by profiler_clear(). |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-09-24 01:22:08 | vstinner | set | recipients: + vstinner |
| 2008-09-24 01:22:08 | vstinner | set | messageid: <1222219328.76.0.602702790572.issue3952@psf.upfronthosting.co.za> |
| 2008-09-24 01:22:08 | vstinner | link | issue3952 messages |
| 2008-09-24 01:22:07 | vstinner | create | |