Commit Graph

20 Commits

Author SHA1 Message Date
Ram Rachum 4c0b64fd0b Bundling decorator and six, look ma no dependencies! 2019-04-24 23:16:59 +03:00
Ram Rachum 4d943e9dbb Implement IPython code fetching 2019-04-24 22:28:43 +03:00
Ram Rachum 3a8c0c35a2 Fail gracefully when can't find code 2019-04-24 22:12:53 +03:00
Ram Rachum 64bc472b7c Canonicalize variable order #21 2019-04-24 15:57:20 +03:00
Ram Rachum efc7dd0a97 Remove any newlines from variables 2019-04-24 15:30:51 +03:00
Ram Rachum a8c6212e96 Refactor showing return values, repr, tests 2019-04-24 15:28:24 +03:00
Loukas Leontopoulos 9248c58ef4 Show function return value. Resolves #32 2019-04-24 15:27:41 +03:00
Ram Rachum 43af67b1d9 Refactor 2019-04-24 14:02:50 +03:00
Binwei Hu 151949a2f0 python2 collections 2019-04-24 13:56:11 +03:00
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
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