Author James.Saryerwinnie
Recipients James.Saryerwinnie, ajaksu2, ggenellina
Date 2013-05-23.02:56:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I confirmed the issue in tip.  One of the issues with the original patch is
that it modifies the tokeneater method used by getblock which won't work
if the first token is any of the special cased tokens in the original patch
('@', 'def', 'class').  I've added additional tests that show where the
original patch fails.

An alternative approach is to check in getsourcelines whether or not we're
dealing with a traceback or frame object in the module scope, and if so,
return the lines of the entire module.  I've attached an updated patch
that implements this along with additional tests.
Date User Action Args
2013-05-23 02:56:41James.Saryerwinniesetrecipients: + James.Saryerwinnie, ggenellina, ajaksu2
2013-05-23 02:56:41James.Saryerwinniesetmessageid: <>
2013-05-23 02:56:40James.Saryerwinnielinkissue6700 messages
2013-05-23 02:56:40James.Saryerwinniecreate