yunminjin2
7f9337a412
adding test case, error color handling
2020-12-05 01:46:24 +09:00
yunminjin2
1b21c47b90
dd
2020-12-05 01:03:14 +09:00
yunminjin2
f465d2d025
updating
2020-12-04 23:27:42 +09:00
yunminjin2
d260de064c
update tracer.py
...
reformated file and added some annotation for easier to read.
2020-12-03 19:23:16 +09:00
yunminjin2
2198f3b684
commit
...
deleting too many blanks and unused import library
2020-12-03 19:07:30 +09:00
Ram Rachum
dc04ab1626
Bump version to 0.4.2
2020-09-14 12:45:52 +03:00
Yael Mintz
f1194be092
fix #195
...
Fix '_thread._local' object has no attribute 'depth' raised by snooper if there's exception upon calling snooped func by initializing thread_global dict with depth when entering the trace() func
2020-09-14 12:44:11 +03:00
Ram Rachum
e4ef950090
Bump version to 0.4.1
2020-05-11 19:57:32 +03:00
Ram Rachum
473bb37a76
Add testing for exceptions
2020-05-05 14:37:01 +03:00
Ram Rachum
679a77e336
Bump version to 0.4.0
2020-04-21 14:50:39 +03:00
Ram Rachum
43ed249e8c
Massaging some code
2020-04-21 14:50:39 +03:00
iory
48cc9d94cd
Fixed timedelta_isoformat
2020-04-21 14:50:39 +03:00
iory
0cb6df1f7b
Fixed multi thread case of elapsed_time
2020-04-21 14:50:39 +03:00
iory
444ea17314
Refactor the timedelta_isoformat
2020-04-21 14:50:39 +03:00
iory
35d3bc2db1
Delete default value of timedelta_isoformat
2020-04-21 14:50:39 +03:00
iory
0c018d868e
Fixed elapsed_time
2020-04-21 14:50:39 +03:00
iory
828ffb1d3c
Add time_fromisoformat
2020-04-21 14:50:39 +03:00
iory
4779aebbe4
Add indent of elapsed time
2020-04-21 14:50:39 +03:00
iory
b886f2b504
Enable multi call
2020-04-21 14:50:39 +03:00
iory
d94b0214f9
Rename relative_time to elapsed_time
2020-04-21 14:50:39 +03:00
iory
c39a68760d
Add depth case
2020-04-21 14:50:39 +03:00
iory
caf1e1a63a
Add timedelta_isoformat
2020-04-21 14:50:39 +03:00
iory
f822104feb
Add relative_time format
2020-04-21 14:50:39 +03:00
iory
6416a11d39
Add total elapsed time
2020-04-21 14:50:39 +03:00
Ram Rachum
76b7466d4d
Bump version to 0.3.0
2019-11-19 19:07:02 +02:00
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
f782bab2af
Bump version
2019-09-15 22:06:18 +03:00
Ram Rachum
32c86da200
Massaging some code
2019-09-15 22:06:18 +03:00
Guoqiang Ding
e5fe6986dd
Add truncate option support
2019-09-15 22:06:18 +03:00
Ram Rachum
bd05c1686f
Force time.isoformat to show microseconds every time
...
Fix #158
2019-09-14 11:29:26 +03:00
Ram Rachum
53bc524b7e
Reject coroutine functions and async generator functions #152
2019-09-13 20:24:24 +03:00
Ram Rachum
a31fa8e21a
Bump version
2019-09-08 22:05:21 +03:00
Jonathan Reichelt Gjertsen
337b6f20db
Bugfix: don't try to snoop on coroutines
2019-09-08 22:05:21 +03:00
Ram Rachum
bd72e6c786
Massaging some code
2019-09-08 22:05:21 +03:00
Jonathan Reichelt Gjertsen
7222d78a83
Use .items() to get rid of a call to getattr
2019-09-08 22:05:21 +03:00
Jonathan Reichelt Gjertsen
b4b425c652
Avoid snooping on the base class
2019-09-08 22:05:21 +03:00
Jonathan Reichelt Gjertsen
5ed81cb848
Add support for wrapping classes ( https://github.com/cool-RR/PySnooper/issues/150 )
2019-09-08 22:05:21 +03:00
Ram Rachum
379ba231ba
Bump version
2019-08-28 20:32:47 +03:00
Ram Rachum
a1517196e1
Fix bug with empty source
2019-08-28 20:31:16 +03:00
Ram Rachum
fa1b5d6172
Bump version
2019-08-10 14:17:46 +03:00
Ram Rachum
297b3cd8d7
Show source path, especially when multiple files
2019-08-10 14:19:01 +03:00
Ram Rachum
7392765ada
Bump version
2019-07-30 11:14:05 +03:00
Ram Rachum
814abc34a0
Support single tuple to custom_repr, fix #144
2019-07-30 11:14:35 +03:00
Ram Rachum
11b9f27bec
Bump version
2019-07-17 09:31:20 +03:00
Ram Rachum
c2e44fb583
Improve ensure_tuple
2019-07-17 09:32:19 +03:00
Ram Rachum
de4027c0ef
Improve tests bundling for Fedora
2019-06-19 19:56:44 +02:00
Ram Rachum
f585746da7
Bump version
2019-06-18 20:35:19 +02:00
Ram Rachum
78a539a2a5
Massaging some code
2019-06-18 20:34:25 +02:00
pikez
b4c8c16ed9
remove setup function and description
2019-06-18 20:34:25 +02:00
pikez
08375e1a86
support activate and deactivate snooper by environment variable and setup snooper global or in-scope
2019-06-18 20:34:25 +02:00