Author giampaolo.rodola
Recipients arigo, bjorns, debatem1, ebfe, eric.araujo, ezio.melotti, georg.brandl, giampaolo.rodola, gvanrossum, pitrou,, ubershmekel
Date 2013-02-25.21:33:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Ok, here's an updated patch modeled after:

It works fine with but not with 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/", 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?
Date User Action Args
2013-02-25 21:33:18giampaolo.rodolasetrecipients: + giampaolo.rodola, gvanrossum, arigo, georg.brandl, pitrou, ezio.melotti, eric.araujo,, ebfe, debatem1, ubershmekel, bjorns
2013-02-25 21:33:18giampaolo.rodolasetmessageid: <>
2013-02-25 21:33:18giampaolo.rodolalinkissue9285 messages
2013-02-25 21:33:18giampaolo.rodolacreate