Commit Graph

  • ae17e3b724 More reliable _is_internal_frame Alex Hall 2019-05-05 16:57:43 +02:00
  • baf5510814 Document with block usage Alex Hall 2019-05-05 09:41:18 +02:00
  • 69673044e3 Inline _should_trace_frame Alex Hall 2019-05-05 08:19:00 +02:00
  • b5b08f334e Optimisation: return None when not tracing frame to avoid line events Alex Hall 2019-05-04 21:12:41 +02:00
  • 7ac2d59624 Improve checks for tracing, add tests for with blocks Alex Hall 2019-05-04 21:10:58 +02:00
  • fd1ba5b57a Add back get_write_and_truncate_functions Alex Hall 2019-05-04 17:00:05 +02:00
  • b41b37fbe3 Allow using snoop as context manager Alex Hall 2019-05-04 12:25:48 +02:00
  • 6d78ee4c84 Make Tracer a class based decorator Alex Hall 2019-05-04 12:09:59 +02:00
  • e856f7a181 Update authors Ram Rachum 2019-05-04 09:37:42 +03:00
  • 3723963cc9 Bump version Ram Rachum 2019-05-04 09:36:43 +03:00
  • 7e845b8f49 add usage to package docstring; fixes #83 Andreas van Cranenburgh 2019-05-03 21:19:16 +02:00
  • 750ef4c639 Rename to needs_parentheses Alex Hall 2019-05-03 21:50:33 +02:00
  • 7a1b457013 Only add parentheses to exploded expressions if needed Alex Hall 2019-05-03 21:32:21 +02:00
  • 53b3ea13b8 Improve docs Ram Rachum 2019-05-03 21:50:54 +03:00
  • b0eb9a19fd Bump version Ram Rachum 2019-05-03 21:32:41 +03:00
  • 9345a5c324 I like PathLike Ram Rachum 2019-05-03 21:31:39 +03:00
  • 5a82a65bde Test for open attribute on output, to support Paths Alex Hall 2019-05-03 20:00:22 +02:00
  • 2732922e1d Test output directly to Path object (currently fails) Alex Hall 2019-05-03 19:23:16 +02:00
  • 89d299f20f Improve docs, fix #84 Ram Rachum 2019-05-03 21:44:06 +03:00
  • a9d884a579 Fix docs some more Ram Rachum 2019-05-03 19:00:14 +03:00
  • 600dedcc1a Fix docs Ram Rachum 2019-05-03 18:58:53 +03:00
  • f8cd6692ba Disable unused Travis jobs Ram Rachum 2019-05-03 18:46:32 +03:00
  • b805ea0dc4 Rename for coolness Ram Rachum 2019-05-03 18:31:39 +03:00
  • a0ff31dd8a Add docs Alex Hall 2019-05-03 17:22:41 +02:00
  • 28ede280fc Move __repr__ to base class Ram Rachum 2019-05-03 12:20:41 +03:00
  • d449f3ed91 Massaging some code Ram Rachum 2019-05-03 12:18:25 +03:00
  • 215a580fa1 Tests for exploding variables Alex Hall 2019-05-02 21:53:59 +02:00
  • e4b244736a Remove empty parens from exceptions Alex Hall 2019-05-02 20:32:18 +02:00
  • 4ebbbf8226 BaseVariable is an ABC Alex Hall 2019-05-02 20:27:57 +02:00
  • e3688e4b63 Prefer dotted import Ram Rachum 2019-05-01 16:21:35 +03:00
  • 18e758b0f9 Handle missing frame.f_globals Alex Hall 2019-04-30 09:06:59 +02:00
  • 5f34219df7 A weird __eq__ method could raise an exception when using 'in' Alex Hall 2019-04-29 09:04:31 +02:00
  • e1bdbc0042 repr -> get_shortish_repr Alex Hall 2019-04-29 08:59:53 +02:00
  • d09b348d96 Use collections ABCs to be safe Alex Hall 2019-04-29 08:54:40 +02:00
  • 97dc802ee6 Add automatic exploded_variables Alex Hall 2019-04-28 21:48:33 +02:00
  • fb62a57a52 Enumerate is too risky - it exhausts iterators and will show changes when sets change order Alex Hall 2019-04-28 21:14:40 +02:00
  • 56d3389500 Add classes to automatically track attributes, keys, etc. of variables Alex Hall 2019-04-28 19:05:11 +02:00
  • 5111a534d4 New release Ram Rachum 2019-05-03 18:25:15 +03:00
  • 20e746ac92 Allow a callable to be passed to snoop() Mike Bayer 2019-05-02 13:57:44 -06:00
  • b8dec67a4f Workaround for Unicode display on Py2.7, fix #67 issue_67 Ram Rachum 2019-05-02 09:36:21 +03:00
  • 59d3a9d178 Catch ValueError because IronPython raises it on bad filename #75 Ram Rachum 2019-04-30 20:29:12 +03:00
  • eb59047a88 setup.py: add test dependencies via "extras" (#66) Nikita Melentev 2019-04-29 03:45:58 +03:00
  • fb5b7eabbc IronPython doesn't always have frame.f_globals, fix #75 Ram Rachum 2019-04-28 22:27:50 +03:00
  • 9a81a2e76c Fixes for Python 2 Alex Hall 2019-04-28 13:15:44 +02:00
  • 0322982875 More informative repr for exceptions. Forgot to use repr_instance Alex Hall 2019-04-28 12:56:57 +02:00
  • 4ec976bd14 PR feedback: Swap imports Raise maxother locally Demo long variable output Alex Hall 2019-04-28 12:35:32 +02:00
  • a5e420a3ab reprlib already handles both truncation and exceptions Alex Hall 2019-04-28 11:44:55 +02:00
  • 7de345f5cc Use reprlib Alex Hall 2019-04-28 11:34:53 +02:00
  • fbc3f98aa1 Update AUTHORS Ram Rachum 2019-04-27 09:08:58 +03:00
  • f1289f5d88 gitignore: add mypy_cache directory pohmelie 2019-04-27 03:34:40 +03:00
  • 2775d251b3 Tweak "Contribute" part of readme Ram Rachum 2019-04-26 21:28:53 +03:00
  • ec7687fab3 Add test_single_variable_no_comma Ram Rachum 2019-04-26 12:53:46 +03:00
  • fe3569bdd5 Bump version Ram Rachum 2019-04-26 12:03:07 +03:00
  • e21fc11352 Massaging some code Ram Rachum 2019-04-26 12:02:37 +03:00
  • c9a51de674 Test arbitrary expression evaluation. Alex Hall 2019-04-26 09:32:45 +02:00
  • e97cdd2b6c Allow tracking arbitrary expressions in 'variables' using eval Alex Hall 2019-04-25 21:28:31 +02:00
  • a1471f6fb9 Use dedent for nice multiline string Alex Hall 2019-04-26 09:00:28 +02:00
  • 2708376bdf Fully readable failure from assert_output Alex Hall 2019-04-26 08:32:18 +02:00
  • 36b3271f0a Fix incorrect tuple passed to variables in test Alex Hall 2019-04-25 21:08:34 +02:00
  • d29cd6f464 Make it easier to read assert_output failure by showing mismatched line rather than just mismatched length. Also, .format can't evaluate arbitrary Python Alex Hall 2019-04-25 20:57:43 +02:00
  • 93edf6fced Remove more calls to decode using u prefix Alex Hall 2019-04-25 20:51:55 +02:00
  • aedaa7ee56 More styling Ram Rachum 2019-04-25 21:59:25 +03:00
  • c9f1dab584 Bump version Ram Rachum 2019-04-25 21:50:56 +03:00
  • 30e5789177 Basic fixes for linters: remove unused variables and imports, plus whitespace and other style improvements for PEP8 Alex Hall 2019-04-25 13:25:42 +02:00
  • 948fa7a312 Argument to overwrite file #5 Ram Rachum 2019-04-25 20:28:45 +03:00
  • ae001ccd19 Update AUTHORS Ram Rachum 2019-04-25 18:13:52 +03:00
  • 7894b55a7e Remove need for conditional .decode() call which gives warning Alex Hall 2019-04-25 17:04:58 +02:00
  • 2b4b64b71b Cleanup generate_authors Alex Hall 2019-04-25 16:59:36 +02:00
  • c90ec63874 Part 2: Don't require setup.py to import pysnooper Ram Rachum 2019-04-25 18:12:00 +03:00
  • cda2b254a1 Don't require setup.py to import pysnooper Ram Rachum 2019-04-25 16:54:46 +03:00
  • 24005024f4 Tweak media coverage Ram Rachum 2019-04-25 15:00:33 +03:00
  • 81a8b79dc8 Add links to some online media coverage. Shlomi Fish 2019-04-25 14:38:14 +03:00
  • 80a89cd275 Ignore coverage-related files Ram Rachum 2019-04-25 10:44:41 +03:00
  • 748d01bd93 Bump version Ram Rachum 2019-04-24 23:17:56 +03:00
  • 4c0b64fd0b Bundling decorator and six, look ma no dependencies! Ram Rachum 2019-04-24 22:59:27 +03:00
  • 08aea68d6a Fix bug in not closing file on PyPy Ram Rachum 2019-04-24 22:32:08 +03:00
  • 2d40225fcc Bump version Ram Rachum 2019-04-24 22:28:54 +03:00
  • 4d943e9dbb Implement IPython code fetching Ram Rachum 2019-04-24 22:28:43 +03:00
  • 61fd0a5262 Bump version Ram Rachum 2019-04-24 22:14:36 +03:00
  • 3a8c0c35a2 Fail gracefully when can't find code Ram Rachum 2019-04-24 22:12:53 +03:00
  • fbb2dbdd9d Fix bug in testing infrastructure Ram Rachum 2019-04-24 22:08:34 +03:00
  • 5c31dfc28c Move version into __init__.py Ram Rachum 2019-04-24 19:05:33 +03:00
  • 64bc472b7c Canonicalize variable order #21 Ram Rachum 2019-04-24 15:57:20 +03:00
  • efc7dd0a97 Remove any newlines from variables Ram Rachum 2019-04-24 15:30:51 +03:00
  • c0ae25deea Bump version, authors and edit readme Ram Rachum 2019-04-24 15:29:41 +03:00
  • a8c6212e96 Refactor showing return values, repr, tests Ram Rachum 2019-04-24 15:25:42 +03:00
  • 9248c58ef4 Show function return value. Resolves #32 Loukas Leontopoulos 2019-04-24 13:51:37 +03:00
  • 56bd15d865 Refactor showing return values, repr, tests pulls/1038886542/40 Ram Rachum 2019-04-24 15:25:42 +03:00
  • 37ff7769a8 Show function return value. Resolves #32 Loukas Leontopoulos 2019-04-24 13:51:37 +03:00
  • 43af67b1d9 Refactor Ram Rachum 2019-04-24 14:02:50 +03:00
  • c5da1d1b54 Update AUTHORS Ram Rachum 2019-04-24 14:02:26 +03:00
  • 665785db92 Bump version Ram Rachum 2019-04-24 13:57:38 +03:00
  • a90ee0d35a Remove dependency future Ram Rachum 2019-04-24 13:56:02 +03:00
  • 151949a2f0 python2 collections Binwei Hu 2019-04-24 18:51:25 +08:00
  • 473f88a2d5 Add platform trove classifiers Peter Bittner 2019-04-24 12:44:34 +02:00
  • 54c138f692 Add platform trove classifiers feature/add-platform-classifiers Peter Bittner 2019-04-24 12:44:34 +02:00
  • e5edaa01a3 Update AUTHORS Ram Rachum 2019-04-24 12:52:20 +03:00
  • 061281d091 Bump version Ram Rachum 2019-04-24 12:50:38 +03:00
  • bb6f5133d0 Add test_lambda Ram Rachum 2019-04-24 12:46:25 +03:00
  • 619c4406cd Refactor test_confusing_decorator_lines Ram Rachum 2019-04-24 12:42:42 +03:00