Commit Graph

76 Commits

Author SHA1 Message Date
drospierski24 91c29c8ea8 TryReturnFinally test case - Return Finally added 2025-07-09 16:42:37 -05:00
drospierski24 84ffb3e0bc 3.6 handles TryFinallyBareReturn 2025-07-09 11:13:32 -05:00
drospierski24 80e9b6c564 fix 3.9 differences between def and non-def 2025-07-07 12:45:33 -05:00
drospierski24 0049dc07ae Update cflow.py 2025-07-07 11:57:16 -05:00
drospierski24 01c31945e4 Update Exception.py 2025-07-03 14:45:13 -05:00
drospierski24 a3b1aafed5 Exception can now handle non-def test cases 2025-07-03 14:37:18 -05:00
drospierski24 54ab336b96 Update Exception.py 2025-07-03 11:49:01 -05:00
caandt bcf48c7c7d fix jump targets 2025-07-03 11:28:00 -05:00
Joel-Flores123 79349a781f Merge pull request #55 from XinlongCS/cflow-refactor
3.9/3.10 Try Exception Additional Test Cases (Try-Except-Finally)
2025-06-27 10:07:57 -05:00
Xinlong Hu e1763b80a5 Additional 3.9/3.10 Exception test cases finished 2025-06-26 18:10:07 -05:00
Joel-Flores123 78dcfbd4ba Merge pull request #54 from tsweet64/xinlong-branch
Try-Exception 3.6/3.7/3.8
2025-06-26 17:54:19 -05:00
Tim Sweet 92e12beb51 Merge branch 'to-merge-from-xinlong' into xinlong-branch 2025-06-26 16:08:09 -05:00
Tim Sweet a14a6e7d4b changing order of functions to prepare for merge 2025-06-26 16:03:02 -05:00
Xinlong Hu 041f6f530c Missed 3.13 2025-06-26 15:07:58 -05:00
Joel-Flores123 1f66a0e82f Merge pull request #51 from tsweet64/cflow-refactor
add test case files to repo
2025-06-26 15:03:05 -05:00
Xinlong Hu f884b7c621 3.6/3.7/3.8 Try Except test cases L/M and Refactoring 2025-06-26 15:02:34 -05:00
Tim Sweet 421dcc062a add test case files to repo 2025-06-26 15:01:30 -05:00
Joel-Flores123 4b046fb302 Merge pull request #49 from tsweet64/cflow-refactor
implement has_incoming_edge_of_categories, make bareexcept less strict
2025-06-26 14:45:02 -05:00
Tim Sweet 2e96d8df61 enable try-except 3.12 for 3.11 2025-06-26 14:43:06 -05:00
Xinlong Hu 9bd8a696da Merge branch 'cflow-refactor' of https://github.com/XinlongCS/pylingual into cflow-refactor 2025-06-26 13:09:39 -05:00
Xinlong Hu dcb337afef 3.6/3.7/3.8 Try Except test cases c, d, e, f
Removed the With statement overlap and starting on Try-finally statements
2025-06-26 12:46:42 -05:00
Tim Sweet e8fe065622 implement has_incoming_edge_of_categories, make bareexcept less strict, make 3.10 try-except apply to 3.9 too 2025-06-26 12:37:35 -05:00
Xinlong Hu e8af5a8990 3.6/3.7/3.8 Try Except test cases c, d, e, f
Removed the With statement overlap and starting on Try-finally statements
2025-06-26 12:22:58 -05:00
Joel-Flores123 546c9f8806 Merge pull request #48 from tsweet64/cflow-refactor
Fix matching of the bare try-finally template and nested excepts
2025-06-26 11:34:38 -05:00
Tim Sweet 55fa3b53e8 Merge branch 'syssec-utd:cflow-refactor' into cflow-refactor 2025-06-25 15:27:03 -05:00
caandt a49852299b cflow script 2025-06-25 14:33:05 -05:00
Tim Sweet 9cbaff52a3 Fix excessive matching of the finally template, and match basic nested try blocks 2025-06-25 12:32:56 -05:00
Joel Flores 949d907af6 versions from change 2025-06-24 18:27:18 -05:00
Xinlong Hu f38235b106 3.6/3.7/3.8 Try-Except Progress & Decorator Changes
3.6-3.8 Try-Except test cases (a, b, c, i, k) progress

Changed decorators so that With statements work for all versions except 3.9 and 3.10 due to test case k
2025-06-24 15:26:32 -05:00
Xinlong Hu e7d741bd76 Syntax 2025-06-24 14:35:26 -05:00
Xinlong Hu c99e6f9f51 With Statement Constrainting
Try-Except statements had overlaps with With statements, tightening the restraints should remove the overlap
2025-06-24 14:33:51 -05:00
Joel-Flores123 8a3815e62f Merge pull request #45 from XinlongCS/cflow-refactor
With Statement 3.12/3.13
2025-06-23 11:03:55 -05:00
Joel Flores cf863b2159 format 2025-06-23 11:03:05 -05:00
Joel Flores 53e888d397 format 2025-06-23 10:56:15 -05:00
Joel-Flores123 5e1bee7550 Merge pull request #46 from tsweet64/cflow-refactor
Some try-except 3.10 fixes and the most basic case of try-finally
2025-06-23 10:45:21 -05:00
Joel Flores 1e5ab6b747 format 2025-06-23 10:44:48 -05:00
Tim Sweet 9671465b11 Revert "Fixing some try edge cases" because it actually made some worse
This reverts commit bc3fc5d278.
2025-06-18 12:53:14 -05:00
Tim Sweet bc3fc5d278 Fixing some try edge cases 2025-06-18 12:38:32 -05:00
Tim Sweet bc898b2c4e cft script divide by zero fix; tryelse adjust 2025-06-18 12:38:23 -05:00
Tim Sweet e0c48e1c22 TryElseFinally test (merged) 2025-06-18 12:38:03 -05:00
caandt ac898dc389 oops 2025-06-16 16:18:18 -05:00
caandt f7a05a4468 cflow script 2025-06-16 12:13:58 -05:00
Xinlong Hu d5b4dc0555 Merge branch 'with-statement-control-flow-template-312' into cflow-refactor 2025-06-13 13:50:01 -05:00
Xinlong Hu 8993af3fd7 Await With Edgecase
Not sure if it can be optimized into one Await template
2025-06-13 13:48:39 -05:00
Xinlong Hu 195fe1379f With statement 3.12/3.13
All With statement 3.12 TC completed and most of With statement 3.13 TC completed
2025-06-13 13:46:48 -05:00
Xinlong Hu 57eadc3210 Merge branch '32-with-statement-control-flow-template-310' into cflow-refactor 2025-06-13 13:40:34 -05:00
caandt 376ae3d72f nit 2025-06-12 17:07:41 -05:00
Tim Sweet 34c5fe521d TryElse_310 2025-06-12 16:40:35 -05:00
Tim Sweet dc318e4a15 try-except bareexcept fix 2025-06-12 16:40:35 -05:00
Tim Sweet 26bd5b3873 try-except fixes 2025-06-12 16:40:35 -05:00