Alex Hall
|
b41b37fbe3
|
Allow using snoop as context manager
|
2019-05-05 18:22:01 +03:00 |
|
Alex Hall
|
6d78ee4c84
|
Make Tracer a class based decorator
|
2019-05-05 18:22:01 +03:00 |
|
Ram Rachum
|
e856f7a181
|
Update authors
|
2019-05-04 09:37:42 +03:00 |
|
Ram Rachum
|
3723963cc9
|
Bump version
|
2019-05-04 09:36:43 +03:00 |
|
Andreas van Cranenburgh
|
7e845b8f49
|
add usage to package docstring; fixes #83
|
2019-05-04 09:35:58 +03: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
|
53b3ea13b8
|
Improve docs
|
2019-05-03 21:51:28 +03:00 |
|
Ram Rachum
|
b0eb9a19fd
|
Bump version
|
2019-05-03 21:45:54 +03:00 |
|
Ram Rachum
|
9345a5c324
|
I like PathLike
|
2019-05-03 21:45:54 +03:00 |
|
Alex Hall
|
5a82a65bde
|
Test for open attribute on output, to support Paths
|
2019-05-03 21:45:54 +03:00 |
|
Alex Hall
|
2732922e1d
|
Test output directly to Path object (currently fails)
|
2019-05-03 21:45:54 +03:00 |
|
Ram Rachum
|
89d299f20f
|
Improve docs, fix #84
|
2019-05-03 21:44:06 +03:00 |
|
Ram Rachum
|
a9d884a579
|
Fix docs some more
|
2019-05-03 19:00:14 +03:00 |
|
Ram Rachum
|
600dedcc1a
|
Fix docs
|
2019-05-03 18:58:53 +03:00 |
|
Ram Rachum
|
f8cd6692ba
|
Disable unused Travis jobs
|
2019-05-03 18:50:15 +03:00 |
|
Ram Rachum
|
b805ea0dc4
|
Rename for coolness
|
2019-05-03 18:47:23 +03:00 |
|
Alex Hall
|
a0ff31dd8a
|
Add docs
|
2019-05-03 18:47:23 +03:00 |
|
Ram Rachum
|
28ede280fc
|
Move __repr__ to base class
|
2019-05-03 18:47:23 +03:00 |
|
Ram Rachum
|
d449f3ed91
|
Massaging some code
|
2019-05-03 18:47:23 +03:00 |
|
Alex Hall
|
215a580fa1
|
Tests for exploding variables
|
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 |
|
Ram Rachum
|
5111a534d4
|
New release
|
2019-05-03 18:25:15 +03:00 |
|
Mike Bayer
|
20e746ac92
|
Allow a callable to be passed to snoop()
Fixes: #80
|
2019-05-03 18:24:05 +03:00 |
|
Ram Rachum
|
b8dec67a4f
|
Workaround for Unicode display on Py2.7, fix #67
|
2019-05-02 21:51:38 +03:00 |
|
Ram Rachum
|
59d3a9d178
|
Catch ValueError because IronPython raises it on bad filename #75
|
2019-04-30 20:29:23 +03:00 |
|
Nikita Melentev
|
eb59047a88
|
setup.py: add test dependencies via "extras" (#66)
|
2019-04-29 02:45:58 +02:00 |
|
Ram Rachum
|
fb5b7eabbc
|
IronPython doesn't always have frame.f_globals, fix #75
|
2019-04-28 22:28:01 +03:00 |
|
Alex Hall
|
9a81a2e76c
|
Fixes for Python 2
|
2019-04-28 14:29:11 +03:00 |
|
Alex Hall
|
0322982875
|
More informative repr for exceptions. Forgot to use repr_instance
|
2019-04-28 14:29:11 +03:00 |
|
Alex Hall
|
4ec976bd14
|
PR feedback:
Swap imports
Raise maxother locally
Demo long variable output
|
2019-04-28 14:29:11 +03:00 |
|
Alex Hall
|
a5e420a3ab
|
reprlib already handles both truncation and exceptions
|
2019-04-28 14:29:11 +03:00 |
|
Alex Hall
|
7de345f5cc
|
Use reprlib
|
2019-04-28 14:29:11 +03:00 |
|
Ram Rachum
|
fbc3f98aa1
|
Update AUTHORS
|
2019-04-27 09:08:58 +03:00 |
|
pohmelie
|
f1289f5d88
|
gitignore: add mypy_cache directory
|
2019-04-27 08:15:45 +03:00 |
|
Ram Rachum
|
2775d251b3
|
Tweak "Contribute" part of readme
|
2019-04-26 21:28:53 +03:00 |
|
Ram Rachum
|
ec7687fab3
|
Add test_single_variable_no_comma
|
2019-04-26 12:53:46 +03:00 |
|
Ram Rachum
|
fe3569bdd5
|
Bump version
|
2019-04-26 12:48:58 +03:00 |
|
Ram Rachum
|
e21fc11352
|
Massaging some code
|
2019-04-26 12:48:58 +03:00 |
|
Alex Hall
|
c9a51de674
|
Test arbitrary expression evaluation.
|
2019-04-26 12:48:58 +03:00 |
|
Alex Hall
|
e97cdd2b6c
|
Allow tracking arbitrary expressions in 'variables' using eval
|
2019-04-26 12:48:58 +03:00 |
|