186 Commits

Author SHA1 Message Date
Ram Rachum
0561a89c0e Bump version to 1.2.3 2025-05-31 16:21:24 -07:00
Ram Rachum
05212d3092 Don't write color escape characters to file 2025-05-31 16:21:06 -07:00
Ram Rachum
eee41b20f8 Bump version to 1.2.2 2025-04-10 23:54:31 +03:00
Andrej730
8bf06d25a1 Allow forcing color output on Windows using color=True 2025-04-10 23:52:31 +03:00
Ram Rachum
57472b4677 Bump version to 1.2.1 2024-09-09 10:41:35 +03:00
sizhky
05f1359427 Compatibility with jupyter notebooks 2024-09-09 10:39:53 +03:00
Ram Rachum
e1a927311b Version bump 2023-07-15 15:58:35 +01:00
Ram Rachum
60775ff71f Use Thread.name instead of deprecated getName 2023-07-15 17:57:35 +03:00
Ram Rachum
4224cf9694 Python 3.12 compat: Include new return opcodes 2023-07-15 17:53:09 +03:00
Ram Rachum
f3d7f39af4 Bump version 2022-04-02 16:02:58 +01:00
Lukas Klenk
4e277a5a1f Add support for Ansible zipped source files (#226)
Add support for Ansible zipped source files
2022-04-02 17:58:48 +03:00
Ram Rachum
bea7c7a965 Bump version to 1.1.0 2022-01-14 20:37:05 +02:00
Ram Rachum
0f1e67b26b Show colored output 2022-01-14 20:36:54 +02:00
Ram Rachum
31bfc637bc Bump version to 1.0.0 2021-09-11 12:46:36 +03:00
Ram Rachum
8b0d6db21a Bump version to 0.5.0 2021-05-19 11:23:53 +03:00
Ram Rachum
a5184c30e2 Bump version to 0.4.3 2021-02-27 11:14:08 +02:00
Ram Rachum
dc1196efbb Get rid of six, for reals 2021-02-27 11:04:37 +02: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