Commit Graph

273 Commits

Author SHA1 Message Date
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 612e6ebed7 Add elapsed_time check for test 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 2ac382f856 Fixed test for elapsed time entry 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 73c2816121 Add README.md for relative_time 2020-04-21 14:50:39 +03:00
iory ee7be80b44 Add test for relative_time 2020-04-21 14:50:39 +03:00
iory 57cec2b9af Fixed test for elapsed time 2020-04-21 14:50:39 +03:00
iory 32183e0489 Add BasePrintEntry and ElapsedPrintEntry 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 487fa5317e Split readme to 2 files, fix #146 2019-11-30 00:03:26 +02:00
Ram Rachum 76b7466d4d Bump version to 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 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 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