Commit graph

333 commits

Author SHA1 Message Date
Ram Rachum
4be5c156ff Include kigland in AUTHORS 2026-06-08 22:44:59 +03:00
kigland
19f39a00a4 Add generator close regression test 2026-06-08 11:57:40 -07:00
kigland
d5257380b2 Guard against f_lasti == -1 when detecting exception returns
The tracer reads co_code[frame.f_lasti] to decide whether a 'return' event was
caused by an exception. f_lasti can be -1 (e.g. a frame that hasn't executed
an instruction), and co_code[-1] reads the last byte -- the wrong opcode --
which can misreport a normal return as "Call ended by exception". Extract the
check into call_ended_by_exception() and return False when f_lasti < 0.
2026-06-08 11:57:40 -07:00
Ram Rachum
f82c4607c5 Add CITATION.cff 2026-05-02 11:42:25 +03:00
Ram Rachum
4bff1205c8 Format ExceptionGroup gracefully on Python 3.11+ 2026-03-08 12:51:15 +02:00
Ram Rachum
90b2e96ef0 Add support for Python 3.12-3.15 in setup.py classifiers 2026-03-07 13:22:09 +02:00
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
3c0f9eb65a Include Andrej730 in AUTHORS 2025-04-10 23:56:22 +03:00
Ram Rachum
eee41b20f8 Bump version to 1.2.2 2025-04-10 23:54:31 +03:00
Ram Rachum
2931e1374a Upgrade Wing to 11 2025-04-10 23:53:59 +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
Ram Rachum
d91fd2b255 Update authors 2024-09-09 10:41:10 +03:00
sizhky
05f1359427 Compatibility with jupyter notebooks 2024-09-09 10:39:53 +03:00
Ram Rachum
ac74c8f020 Upgrade to Wing 10 2024-09-09 10:36:47 +03:00
Ram Rachum
f2c60de87f
Fix citation 2024-01-13 09:27:19 -08:00
Ram Rachum
0b96becd1b Change tabs to spaces 2024-01-06 12:07:35 +02:00
Ram Rachum
591341e973 Add citation 2024-01-06 12:04:17 +02:00
Ram Rachum
206ae83b4f Fix title formatting 2024-01-06 12:02:49 +02:00
Ram Rachum
8c35d81835 Add Python 3.12 to trove classifiers 2023-07-15 16:04:46 +01:00
Ram Rachum
23d3e43f0e Bring back setup.py for universal wheels 2023-07-15 16:02:46 +01: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
caf4ec584a Upgrade to Wing 9 2023-04-12 12:10:26 +03:00
Lumir Balhar
231969074e Add pyproject.toml and switch setup.py to setup.cfg 2023-01-03 15:15:29 +02:00
Ram Rachum
1ad8ae08b0
Add Trove classifier for Python 3.11 2022-12-11 15:01:28 +02:00
Ram Rachum
7ca28af18d Update authors 2022-04-02 16:07:32 +01: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
Lumir Balhar
219bfc98bf Allow Python 3.10 to fail until we have a beta on Travis 2021-05-19 11:21:58 +03:00
Lumir Balhar
1c94b1af52 Make tests compatible with Python 3.10 2021-05-19 11:21:58 +03:00
Lumir Balhar
c539cbc520 Improve tests/CI configuration
- Add Python 3.10
- Fix DeprecationWarning for pytest and --strict option
- Install typing for Python 3.4
- Allow passing arguments to pytest command in tox
2021-05-19 11:21:58 +03:00
Lumír 'Frenzy' Balhar
03a51fd897 Add Fedora Linux to installation options 2021-05-14 21:46:34 +03:00
Ram Rachum
5abece033b Remove Python 3.4 tests from Travis, dependency error 2021-05-09 14:59:03 +03:00
Ram Rachum
3469baccbb Revert "Readme: Remove deleted Reddit page"
This reverts commit 887f82805f.
2021-05-09 14:48:38 +03:00
Ram Rachum
887f82805f
Readme: Remove deleted Reddit page 2021-04-04 15:13:54 +03:00
Ram Rachum
a5184c30e2 Bump version to 0.4.3 2021-02-27 11:14:08 +02:00
Ram Rachum
d6147c7dc2 Remove ad 2021-02-27 11:12:38 +02:00
Ram Rachum
dc1196efbb Get rid of six, for reals 2021-02-27 11:04:37 +02:00
Ram Rachum
fb8c0fa90a
Add comparison to set -x 2020-12-28 20:13:09 +02:00
Ram Rachum
dc04ab1626 Bump version to 0.4.2 2020-09-14 12:45:52 +03:00
Ram Rachum
bd90ac0b9c Add Yael Mintz to authors 2020-09-14 12:45:23 +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
2f80c0f11a
Remove Travis badge 2020-06-06 00:06:00 +03:00