Commit graph

17 commits

Author SHA1 Message Date
Ram Rachum
9a73bdbcba Refactor detecting misplaced def lines 2019-04-24 12:36:37 +03:00
Christian Zietz
016f4b9976 Rework code to find a function definition in case of decorated source lines 2019-04-24 12:27:26 +03:00
Christian Zietz
45db942375 Be safe and check that a function definition is found 2019-04-24 12:27:26 +03:00
Christian Zietz
90951065d3 When tracing 'call' events, skip lines containing decorators to print actual function name.
Python syntax expects function decorators in a separate line so the all lines starting with '@' can be safely skipped.
2019-04-24 12:27:26 +03:00
Ram Rachum
1db07e4d66 Add "and collaborators" everywhere 2019-04-24 12:10:46 +03:00
Ram Rachum
4419548374 Add MAX_VARIABLE_LENGTH constant 2019-04-23 11:11:38 +03:00
Ram Rachum
e4483bc310 Fix #14 2019-04-23 10:15:57 +03:00
wilfredinni
2c8c74903d small typo on pycompat.py 2019-04-22 23:43:32 +03:00
Ram Rachum
15555ed760 Fix #2 2019-04-22 15:10:34 +03:00
Ram Rachum
6e3d797be3 Remove tests package, add docstsring 2019-04-22 12:06:00 +03:00
Ram Rachum
8d6b7cadae Add Python 2 compatibility lines 2019-04-21 22:13:22 +03:00
Ram Rachum
95d81915c9 Remove junk code 2019-04-21 22:05:49 +03:00
Ram Rachum
e898561a4f Remove trailing whitespace 2019-04-21 21:39:32 +03:00
Ram Rachum
28a8b24494 Add prefix feature 2019-04-21 21:36:49 +03:00
Ram Rachum
621a4865cc Convert to single Python 2/3 codebase 2019-04-21 21:36:31 +03:00
Ram Rachum
443b442b1d Work feverishly 2019-04-21 21:36:31 +03:00
Ram Rachum
cb2d96ddfa Initial commit 2019-04-20 13:45:11 +03:00