Ram Rachum
43bde4b8bf
Bump version to 0.1.0
0.1.0
2019-05-30 09:05:47 +03:00
Ram Rachum
80fa2c965c
Update AUTHORS
2019-05-30 09:05:36 +03:00
Xiang Gao
5546468d60
Update utils.py
2019-05-30 09:03:52 +03:00
Xiang Gao
25dcc9ff62
sort list of dict keys
2019-05-30 09:02:11 +03:00
Xiang Gao
77e6c54456
remove numpy from test
2019-05-30 09:02:11 +03:00
Xiang Gao
71fcb14a99
improve README, and test dependency numpy
2019-05-30 09:02:11 +03:00
Xiang Gao
7c7e7eb81a
Changes according to review
2019-05-30 09:02:11 +03:00
Xiang Gao
4a32e77b33
Add support for custom repr
2019-05-30 09:02:11 +03:00
Ram Rachum
22019f16ae
Bump version
2019-05-20 13:53:51 +03:00
Ram Rachum
56f22f8ffe
Fix unicode issues and add test, fix #124
2019-05-20 11:42:39 +03:00
Ram Rachum
e21a31162f
Formatting
2019-05-20 11:15:57 +03:00
Ram Rachum
f12d40bbe4
Massage code, bump version
2019-05-14 17:48:37 +03:00
Alexander Bersenev
4e9c29cb58
move the type difference declaration to pycompat
2019-05-14 17:47:33 +03:00
Alexander Bersenev
a73ea14f58
get rid from six module
2019-05-14 17:47:33 +03:00
Alex Hall
d200457d63
Handle overwriting in FileWriter instead of Tracer
2019-05-11 20:18:37 +03:00
Ram Rachum
57283caf47
Bump version
2019-05-11 15:10:00 +03:00
Nikita Melentev
5698d6c3e2
Support generators
2019-05-11 15:09:37 +03:00
Ram Rachum
669863a65f
Formatting
2019-05-11 14:29:57 +03:00
Ram Rachum
c7b5a2e515
Move docstring to class
2019-05-11 14:29:23 +03:00
Ram Rachum
9a2889d02f
Bump version
2019-05-11 14:26:00 +03:00
Alexander Bersenev
bf52d30d91
Make vars_order line a bit shorter
...
Co-Authored-By: Alex Hall <alex.mojaki@gmail.com >
2019-05-11 14:25:47 +03:00
Alexander Bersenev
c976a185bb
Join two lines in get_local_reprs
2019-05-11 14:25:47 +03:00
Alexander Bersenev
cb280323e5
Don't always place new variables before the modified ones
2019-05-11 14:25:47 +03:00
Alexander Bersenev
49f7dd504b
Move one string of code down in get_local_reprs
2019-05-11 14:25:47 +03:00
Alexander Bersenev
472985a32c
Simplify parameters sorting
2019-05-11 14:25:47 +03:00
Alexander Bersenev
3121842110
Make frame_to_local_reprs a dict
...
Co-Authored-By: Alex Hall <alex.mojaki@gmail.com >
2019-05-11 14:25:47 +03:00
Alexander Bersenev
ca90f55d5f
Make order test more reliable on pypy
2019-05-11 14:25:47 +03:00
Alexander Bersenev
1cd2dffa13
Rewrite get_local_reprs to use sort explicitely
2019-05-11 14:25:47 +03:00
Alexander Bersenev
2a6b2b4299
Variable ordering test
2019-05-11 14:25:47 +03:00
Alexander Bersenev
17d8a41b3b
Restore cell vars support in the ordered printing.
2019-05-11 14:25:47 +03:00
Alexander Bersenev
e4cd9974b2
Simplify the new and modified values reporting.
2019-05-11 14:25:47 +03:00
Alexander Bersenev
92ff55d2f1
Make predictable order of items if we don't know the proper order.
...
Also fix tests
2019-05-11 14:25:47 +03:00
Alexander Bersenev
f4117c1565
Preserve the local variables order in the output.
...
The variables are outputed in the declare order, instead of alphabetical.
This causes function arguments to be printed in the declare order.
All watched variables are outputted after declared ones.
2019-05-11 14:25:47 +03:00
Alex Hall
90a1946529
Newest python versions have different repr for exceptions, avoid altogether
2019-05-11 13:34:55 +03:00
Alex Hall
dea100b929
Add test for exception
2019-05-11 13:34:55 +03:00
Alex Hall
f6001ce3b1
Fix opcode lookup in Python 2
2019-05-11 13:34:55 +03:00
Alex Hall
d24f9e3846
Log exceptions nicely
2019-05-11 13:34:55 +03:00
Ram Rachum
4b77bb6000
Update AUTHORS some more
2019-05-11 10:38:40 +03:00
Ram Rachum
fa7fa1c1c5
Update AUTHORS
2019-05-11 10:33:19 +03:00
Alex Hall
f4bae3f1a9
Unify imports
2019-05-11 09:38:09 +03:00
Alex Hall
3b8de8826e
Add indentation tests with new assert_sample_output
2019-05-11 09:38:09 +03:00
Alex Hall
6553cd50f0
Store depth globally to indent correctly in all cases
2019-05-11 09:38:09 +03:00
Alex Hall
8f91784821
Indent based on how many calls are currently being traced
2019-05-11 09:38:09 +03:00
Alex Hall
1bcaea2059
Remove decorator module, use functools.wraps
2019-05-10 21:25:23 +03:00
Ram Rachum
a11b42c6fd
Bump version
2019-05-10 20:49:53 +03:00
Alex Hall
af76e55aef
Truncate long variables in the middle
2019-05-10 20:48:09 +03:00
Alex Hall
a5eb93ac62
Delete frames when exiting to free up memory
2019-05-10 20:38:53 +03:00
Hervé Beraud
fae0ce0c76
Add support for thread identifiers
...
Display thread infos (identifier and name) on output to help
user to track execution on apps who use threading.
2019-05-10 18:57:50 +03:00
Alex Hall
2801ce0c0e
Keep proper track of previous tracing functions
2019-05-10 18:54:20 +03:00
Ram Rachum
7d807e834f
Remove space
2019-05-10 13:28:17 +03:00