Commit Graph

  • 42473ad7ff bump to 4.3.7 since 4.3.6 was tagged but not released master 4.3.7 DJ Gillespie 2025-02-19 14:58:30 -0700
  • eeda3385eb add additonal python versions DJ Gillespie 2025-02-19 14:53:17 -0700
  • 281cdde804
    Merge 45e0822fe2 into 50baa8db50 NannoSilver 2024-11-17 14:26:41 -0300
  • 45e0822fe2
    Removes a new line (\n) symbol that is messing the logged Exception error message NannoSilver 2024-11-17 14:21:31 -0300
  • 2ba09799fc
    Merge aa2e6db8c5 into 50baa8db50 John 2024-02-29 19:14:58 -0800
  • aa2e6db8c5
    Update README.md typo John 2024-02-29 19:14:42 -0800
  • d94e37bb40 Add .gitignore to ignore the auto-downloaded GoodTests.py if runTests.py is used 4.4branch Tim Savannah 2023-04-23 04:30:07 -0400
  • 178da73d27 Update copyright years, version number for 4.4.0. Update compatible python versions all the way up to 3.9 Tim Savannah 2023-04-23 04:27:50 -0400
  • cc4c55839d Support nested StoppableThreads properly raising exception to correct context Tim Savannah 2023-04-23 04:15:28 -0400
  • 8ebf916b3d
    Merge c0b2ddb3f3 into 50baa8db50 Marcel Telka 2022-12-24 22:16:26 +0100
  • c0b2ddb3f3 Change http to https in LICENSE Marcel Telka 2022-12-24 22:14:49 +0100
  • 0fb88fda5a
    Merge d9556e52ec into 50baa8db50 Praveensenpai 2022-11-08 20:00:41 +0530
  • d9556e52ec
    Update dafunc.py Praveensenpai 2022-11-08 20:00:18 +0530
  • 70b48494bb
    Merge pull request #23 from ddurham2/4.3branch 4.3branch Tim Savannah 2022-02-01 20:18:08 -0500
  • f78a12994d added py3.8, py3.9 and py3.10 Davy Durham 2022-01-31 21:39:04 -0600
  • 37a0187270
    Merge 3c0829399c into 50baa8db50 Ilya Kamenshchikov 2021-01-17 13:31:21 +0100
  • 3c0829399c Drop python2 support, add py38 and py39 ikkamens 2021-01-17 13:02:41 +0100
  • 7531c64f9b FunctionTimedOut inherits TimeoutError Edvard Rejthar 2019-11-07 13:57:37 +0100
  • 50baa8db50 Fix years in copyright notice of func_timeout.exceptions. Will not be a new release just for this. 4.3.6 Tim Savannah 2019-08-19 17:52:33 -0400
  • 45cdbdfe4f 4.3.5 4.3.5 Tim Savannah 2019-08-19 17:31:36 -0400
  • 514225621f Update cachebust reference in READMEs to pydocs from 4.3.4 to 4.3.5 to reflect newest version Tim Savannah 2019-08-19 17:31:29 -0400
  • 5452efab5b Regenerate pydocs Tim Savannah 2019-08-19 17:31:02 -0400
  • 5d2afb9582 Changelog Tim Savannah 2019-08-19 17:30:01 -0400
  • af7d6e8a39 Allow instantiation of FunctionTimedOut with empty arguments (to support some patterns in unit testing / mocking). Will replace function name with "Unknown Function" if not provided, and timedOutAfter will be "Unknown" or a float of how long until timeout occurred. Tim Savannah 2019-08-19 17:28:33 -0400
  • cf8a9545bc Update to GoodTests runTests.py version 3.0.5 from 2.1.1 Tim Savannah 2019-08-19 17:16:48 -0400
  • 176ef7b9d9 Increase test timing and thresholds so it works on slower computers as well. Tim Savannah 2019-08-19 17:14:48 -0400
  • 1eba58f599 4.3.4 4.3.4 Tim Savannah 2019-08-19 16:36:57 -0400
  • f759dbfeec Add missing test_StoppableThread unit test, may need some minor cleanups and tweaking, but passes. Tim Savannah 2019-08-19 16:36:45 -0400
  • 82493fe61d Fix missing newline in unit test TestUtils docstring Tim Savannah 2019-08-19 16:36:19 -0400
  • 945b971637 Update cachebust reference on documentation from 4.3.3 to 4.3.4 Tim Savannah 2019-08-19 16:31:04 -0400
  • 64c3098922 Regen docs, py3 generation for all but py2_raise generated on 2.7 Tim Savannah 2019-08-19 16:30:15 -0400
  • 3fc998c3ca Changelog Tim Savannah 2019-08-19 16:27:12 -0400
  • caffd41f95
    Merge pull request #7 from florczakraf/use_is_alive Tim Savannah 2019-08-19 16:22:00 -0400
  • 1722f34da2
    Use is_alive in favor of deprecated isAlive Rafał Florczak 2019-08-19 12:01:00 +0200
  • bdc7072176 Update pydoc link with a different value on the GET params to force a regen if old version was cached. 4.3.3 Tim Savannah 2019-05-13 16:30:03 -0400
  • e90d850871 Regen pydocs, and generate py2_raise again as well Tim Savannah 2019-05-13 16:28:08 -0400
  • 8ab818f94a 4.3.3 Tim Savannah 2019-05-13 16:26:25 -0400
  • 317a65ce08 Changelog Tim Savannah 2019-05-13 16:26:04 -0400
  • 5f9a1e493a Update READMEs and note both ways to create a thread, instead of I think implying that you MUST extend the class. Tim Savannah 2019-05-13 16:25:45 -0400
  • 6e869794ef Add expected value before print on old testit.py, and docstring to note where other tests are located. Tim Savannah 2019-05-13 11:47:07 -0400
  • 84528e67ed Update mkdoc.sh script to ensure we are in project root dir and to enable nullglob Tim Savannah 2019-05-13 11:43:20 -0400
  • 81759d9b2b Remove TODO file Tim Savannah 2019-05-13 11:39:16 -0400
  • 515988d9fc Regen pydocs 4.3.2 Tim Savannah 2019-05-13 11:34:10 -0400
  • ac5eb257b0 Bump to 4.3.2 to re-release with up-to-date pydoc link. Tim Savannah 2019-05-13 11:33:59 -0400
  • 45244ce98e Changelog Tim Savannah 2019-05-13 11:33:46 -0400
  • 549251b2a3 Update link to pydoc to use githubpreview, as pythonhosted is old and not currently working. Tim Savannah 2019-05-13 11:33:24 -0400
  • cdd2d6d34f Regen docs for 4.3.1 4.3.1 Tim Savannah 2019-05-13 11:28:39 -0400
  • 5ab59fd709 Mark as 4.3.1 Tim Savannah 2019-05-13 11:28:26 -0400
  • c52d7181d6 Strip trailing whitespace Tim Savannah 2019-05-13 11:27:47 -0400
  • 874bc9b576 changelog Tim Savannah 2019-05-13 11:27:13 -0400
  • 92dc986332 Regen pydocs Tim Savannah 2019-05-13 11:25:41 -0400
  • dc5fcfe507 Update READMEs, be more clear with sections, add more documentation on StoppableThread Tim Savannah 2019-05-13 11:25:21 -0400
  • f7f761789c Note it works with python 3.7 Tim Savannah 2019-05-13 11:24:40 -0400
  • f793e36dc6 StoppableThread - Add more documentation to StoppableThread Tim Savannah 2019-05-13 11:24:17 -0400
  • 089172fe0c Be explicit that StoppableThread.stop #exception argument needs to be a class/type, not an instance. Tim Savannah 2019-05-13 11:07:33 -0400
  • b427da2517 4.3.0 4.3.0 Tim Savannah 2017-08-10 18:50:20 -0400
  • 00685ec546 Issue #2 (Resolve) - Ensure we do not lose function information when using the func_set_timeout wrapper. Tim Savannah 2017-08-10 18:46:14 -0400
  • fa05ce2cf0 Merge 91b940fd55 into 2bd33c12fd belongwqz 2017-08-10 08:04:36 +0000
  • 91b940fd55 fix wraps func __name__ belongwqz 2017-08-10 16:02:08 +0800
  • 2bd33c12fd Tag 4.2.0 For Real and Update setup.py 4.2.0 4.2branch Tim Savannah 2017-06-04 04:47:21 -0400
  • 5e15db92b6 Changelog Tim Savannah 2017-06-04 04:47:10 -0400
  • e99d1d8957 Add StoppableThread to the root module (so from 'func_timeout import StoppableThread' now works, instead of needing to do 'from func_timeout.StoppableThread import StoppableThread') Tim Savannah 2017-06-04 04:46:47 -0400
  • 0e43f0b161 pydoc Tim Savannah 2017-06-04 04:44:20 -0400
  • f21d4b4b49 Update READMEs to note StoppableThread Tim Savannah 2017-06-04 04:43:56 -0400
  • 6bee825db7 Add a bunch of comments to StoppableThread Tim Savannah 2017-06-04 04:41:44 -0400
  • 19497ca229 4.2.0 Tim Savannah 2017-06-04 04:30:58 -0400
  • 4190710ec4 Update pydoc Tim Savannah 2017-06-04 04:29:58 -0400
  • 57aed88c7a Add 'stop' method (rather than _stopThread) to StoppableThread 4.1branch Tim Savannah 2017-05-28 01:11:42 -0400
  • 3f6d300aa0 4.1.0 4.1.0 Tim Savannah 2017-05-24 02:14:27 -0400
  • 0e2b0e9c3e doc Tim Savannah 2017-05-24 02:14:11 -0400
  • 5e44de7210 Changelog Tim Savannah 2017-05-24 02:12:07 -0400
  • 9e1ac2fb8c Change to using clever import strategy such that we dont have to use exec/eval Tim Savannah 2017-05-24 02:08:15 -0400
  • 76cf4f6456 Much better exception handling - Have them make more sense. Get rid of the multiple traceback prints, one for each level of catchs on python3. Also improve traceback on both python3 and python2 to exclude the function wrapper, and instead follow the execution frame. Downside is that neither form compiles on the other python, so have to use exec... Tim Savannah 2017-05-24 02:01:58 -0400
  • fd0260fc05 For python >= 3.3, raise with the chained exception context disabled, since the funcwrap wrapper is within the context where the exception would be thrown (on python3+) Tim Savannah 2017-05-24 01:32:55 -0400
  • 3275780482 Changelog Tim Savannah 2017-05-24 01:23:34 -0400
  • 5a6187122d Force cleanup of thread if function completes in time. On python2 this forces the thread to be cleaned up right-away, on python3 it would get cleaned up during the next garbage-collect cycle. In python2 it may take several rounds. Tim Savannah 2017-05-24 01:22:17 -0400
  • 3dcf6f921e pydoc update 4.0branch Tim Savannah 2017-05-20 21:43:07 -0400
  • 38ec3de098 Fix date 4.0.0 Tim Savannah 2017-05-20 21:40:54 -0400
  • 0c1f6a7de6 README list pydocs Tim Savannah 2017-05-20 21:40:34 -0400
  • b6c02653b8 4.0.0 Tim Savannah 2017-05-20 21:38:02 -0400
  • cfa466a302 Changelog Tim Savannah 2017-05-20 21:30:36 -0400
  • ca8a3a3534 Short README update Tim Savannah 2017-05-20 21:30:13 -0400
  • 8af967169d Make python2 work as well as python3 Tim Savannah 2017-05-20 21:23:37 -0400
  • f20e8e727c Fix so instantiation works in async exception. Also, dont need to worry about the exception comment, as we use BaseException and have for a while to prevent such. Tim Savannah 2017-05-20 21:14:58 -0400
  • 525c291aef Regen html Tim Savannah 2017-05-20 17:20:47 -0400
  • d6ff5e1932 Make StoppableThread.JoinThread have a configurable retry interval (still default 2 seconds). Will attempt to retry stopping thread every this-many seconds Tim Savannah 2017-05-20 17:20:23 -0400
  • e554cd0252 Update docstring text Tim Savannah 2017-05-20 17:13:48 -0400
  • d10476b734 Update pydoc Tim Savannah 2017-05-20 17:11:59 -0400
  • 63454c7178 Add mkdoc.sh script Tim Savannah 2017-05-20 17:11:54 -0400
  • 9d3eec0475 Add README for tests dir, and add tests to MANIFEST.in Tim Savannah 2017-05-20 17:10:16 -0400
  • e4cf7fa765 Add TODO Tim Savannah 2017-05-20 17:07:26 -0400
  • ad944d3c2c Add tests Tim Savannah 2017-05-20 17:06:51 -0400
  • b729265855 Add msg property to FunctionTimedOut exception (also can get by str( exception ) Tim Savannah 2017-05-20 17:04:22 -0400
  • 75d90251f6 Add missing import Tim Savannah 2017-05-20 16:51:07 -0400
  • 2079932b4e Changelog Tim Savannah 2017-05-20 16:24:24 -0400
  • 0ccca87e2c Some tests Tim Savannah 2017-05-20 16:22:14 -0400
  • 36b7d6f266 Decrease thread join time. Because it is a daemon thread it will get closed automatically on garbage collect, just need to initate a join at all. Tim Savannah 2017-05-20 16:21:43 -0400
  • 5b93fe5d7c Expand FunctionTimedOut exception to have attributes of the timeout, function that failed, args and kwargs. Also add a standard getMsg function for generating consistant message, and add a retry function to retry the function again with either same timeout, different timeout, or no timeout. Tim Savannah 2017-05-20 16:04:39 -0400
  • c3a114e1df Sometimes depending on critical section during timeout, traceback could be printed to stderr. Stop that. Tim Savannah 2017-05-20 15:49:17 -0400
  • b1a05fe92f Add GoodTests.py suite, some utils which will be used, and a test for the test. How meta! Tim Savannah 2017-05-20 02:22:24 -0400