Message182986
| Author |
giampaolo.rodola |
| Recipients |
arigo, bjorns, debatem1, ebfe, eric.araujo, ezio.melotti, georg.brandl, giampaolo.rodola, gvanrossum, pitrou, tleeuwenburg@gmail.com, ubershmekel |
| Date |
2013年02月25日.21:33:18 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1361827998.8.0.923620450407.issue9285@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Ok, here's an updated patch modeled after:
http://hg.python.org/cpython/rev/422169310b7c
It works fine with cProfile.py but not with profile.py where I get this exception when I try to use the context manager (tests can be run in order to reproduce it):
File "/home/giampaolo/svn/python/3.4-profile/Lib/profile.py", line 339, in trace_dispatch_return
assert frame is self.cur[-2].f_back, ("Bad return", self.cur[-3])
AssertionError: ('Bad return', ('profile', 0, ''))
I have no clue what this error means.
I wasn't able to add a context manager for profile.Profile for the same reason.
Any clue? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年02月25日 21:33:18 | giampaolo.rodola | set | recipients:
+ giampaolo.rodola, gvanrossum, arigo, georg.brandl, pitrou, ezio.melotti, eric.araujo, tleeuwenburg@gmail.com, ebfe, debatem1, ubershmekel, bjorns |
| 2013年02月25日 21:33:18 | giampaolo.rodola | set | messageid: <1361827998.8.0.923620450407.issue9285@psf.upfronthosting.co.za> |
| 2013年02月25日 21:33:18 | giampaolo.rodola | link | issue9285 messages |
| 2013年02月25日 21:33:18 | giampaolo.rodola | create |
|