Commit Graph

17 Commits

Author SHA1 Message Date
Itamar.Raviv
0c5834196a Add normalize flag to remove machine-specific data
This allows for diffing between multiple PySnooper outputs.
2019-11-19 19:07:02 +02:00
Ram Rachum
c2e44fb583 Improve ensure_tuple 2019-07-17 09:32:19 +03:00
Ram Rachum
f793796ad3 Removing python_toolbox test dependency 2019-06-15 15:56:34 +02:00
Alex Hall
750ef4c639 Rename to needs_parentheses 2019-05-03 22:54:41 +03:00
Alex Hall
7a1b457013 Only add parentheses to exploded expressions if needed 2019-05-03 22:54:41 +03:00
Ram Rachum
b805ea0dc4 Rename for coolness 2019-05-03 18:47:23 +03:00
Ram Rachum
d449f3ed91 Massaging some code 2019-05-03 18:47:23 +03:00
Alex Hall
e4b244736a Remove empty parens from exceptions 2019-05-03 18:47:23 +03:00
Alex Hall
4ebbbf8226 BaseVariable is an ABC 2019-05-03 18:47:23 +03:00
Ram Rachum
e3688e4b63 Prefer dotted import 2019-05-03 18:47:23 +03:00
Alex Hall
18e758b0f9 Handle missing frame.f_globals 2019-05-03 18:47:23 +03:00
Alex Hall
5f34219df7 A weird __eq__ method could raise an exception when using 'in' 2019-05-03 18:47:23 +03:00
Alex Hall
e1bdbc0042 repr -> get_shortish_repr 2019-05-03 18:47:23 +03:00
Alex Hall
d09b348d96 Use collections ABCs to be safe 2019-05-03 18:47:23 +03:00
Alex Hall
97dc802ee6 Add automatic exploded_variables 2019-05-03 18:47:23 +03:00
Alex Hall
fb62a57a52 Enumerate is too risky - it exhausts iterators and will show changes when sets change order 2019-05-03 18:47:23 +03:00
Alex Hall
56d3389500 Add classes to automatically track attributes, keys, etc. of variables
# Conflicts:
#	pysnooper/tracer.py
2019-05-03 18:47:23 +03:00