251 Commits

Author SHA1 Message Date
Ram Rachum
76b7466d4d Bump version to 0.3.0 0.3.0 2019-11-19 19:07:02 +02:00
Ram Rachum
0af30a1ddc Update authors 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
Guoqiang Ding
c0bf4bd006 Fix unit tests on thread_info
The length of thread's ident between "MainThread" and others are not
always equal. So use another way to check it.
2019-09-17 20:20:30 +03:00
Ram Rachum
f782bab2af Bump version 0.2.8 2019-09-15 22:06:18 +03:00
Ram Rachum
dd196d1c99 Add Guoqiang Ding to authors 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
e3e09d31b5 Add test for decorating when DISABLED = True
Fix #154
2019-09-14 13:56:44 +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
e2aa42bd6d Tests: Better time regex and placeholder 2019-09-14 11:29:26 +03:00
Ram Rachum
85c929285e Make tests even nicer 2019-09-14 11:29:10 +03:00
Ram Rachum
1ef8beb90b Make tests nicer 2019-09-13 21:48:11 +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 0.2.7 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
8d864d0c99 Add Jonathan Reichelt Gjertsen to authors 2019-09-08 22:05:21 +03:00
Ram Rachum
f4cafcc767 Improve generate_authors.py to specify branch 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
d6330dc6a6 Update regexes in tests to work with Python 2.7 2019-09-08 22:05:21 +03:00
Jonathan Reichelt Gjertsen
8d7d21d0d8 Use slightly more specific regexes in the tests 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
d89099aadd Add some more tests for the behaviour with decorators 2019-09-08 22:05:21 +03:00
Jonathan Reichelt Gjertsen
7bb844d518 Move the class-tests to the right place chronologically 2019-09-08 22:05:21 +03:00
Jonathan Reichelt Gjertsen
87f7b5d4b2 Add a test to demonstrate the suboptimal but noncatastrophic behaviour when used with properties 2019-09-08 22:05:21 +03:00
Jonathan Reichelt Gjertsen
76fa19e4ee Mention the option of decorating classes in the README.md 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 0.2.6 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
4eb2db6514 Add author pikez 2019-08-26 20:58:47 +03:00
Ram Rachum
fa1b5d6172 Bump version 0.2.5 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 0.2.4 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
81868cd0ba removing python_toolbox reference, not needed anymore 2019-07-19 14:45:57 +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
76c739a958 Slim down the readme 2019-07-11 20:30:59 +03:00
Ram Rachum
de4027c0ef Improve tests bundling for Fedora 0.2.2 2019-06-19 19:56:44 +02:00
Ram Rachum
f585746da7 Bump version 0.2.1 2019-06-18 20:35:19 +02:00
Ram Rachum
78a539a2a5 Massaging some code 2019-06-18 20:34:25 +02:00
pikez
d7d3a80c16 Fix unittest for activating pysnooper 2019-06-18 20:34:25 +02:00
pikez
b4c8c16ed9 remove setup function and description 2019-06-18 20:34:25 +02:00
pikez
a807989923 Update docs for new feature 2019-06-18 20:34:25 +02:00
pikez
f1582fc16c add unittest for activate and setup snoop 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
Ram Rachum
3cc81f4b7a Bump version 0.2.0 2019-06-15 15:56:34 +02:00
Ram Rachum
7687ee1c26 Fix formatting 2019-06-15 15:56:34 +02:00
Ram Rachum
f793796ad3 Removing python_toolbox test dependency 2019-06-15 15:56:34 +02:00