Xinlong Hu
|
90ad3f2ce6
|
Merge branch 'cflow-refactor' into Loops/Breaks/Continues
|
2025-07-15 15:29:42 -05:00 |
|
Xinlong Hu
|
e241c52d4d
|
Fixed 3.13 Try Except ab2 not matching
|
2025-07-15 15:12:19 -05:00 |
|
Xinlong Hu
|
738279d812
|
Update Exception test cases
|
2025-07-15 15:12:19 -05:00 |
|
Xinlong Hu
|
4a055c59ca
|
Fixes test case ae0
|
2025-07-15 15:12:19 -05:00 |
|
Xinlong Hu
|
f681d4d05f
|
Updating test cases & documentation
|
2025-07-15 15:12:19 -05:00 |
|
Xinlong Hu
|
b8e0c934fb
|
Loop test case adjustments
|
2025-07-15 15:12:19 -05:00 |
|
Xinlong Hu
|
fbbb3d1c87
|
Alphabetizing With test cases + explanations on fails
|
2025-07-15 15:12:19 -05:00 |
|
Xinlong Hu
|
ca704a89f4
|
Renaming TryExcept test cases
|
2025-07-15 15:12:19 -05:00 |
|
Xinlong Hu
|
c8a1735123
|
Merge branch 'syssec-utd:main' into Loops/Breaks/Continues
|
2025-07-11 14:23:03 -05:00 |
|
caandt
|
c447efa482
|
nit
|
2025-07-11 11:52:54 -05:00 |
|
caandt
|
1bb454f502
|
lock file
|
2025-07-11 11:26:08 -05:00 |
|
caandt
|
521b06dffa
|
formatter
|
2025-07-11 11:18:28 -05:00 |
|
caandt
|
1b30b03edc
|
Merge branch 'main' into cflow-refactor
|
2025-07-11 11:18:28 -05:00 |
|
caandt
|
69f24294cd
|
Merge pull request #63 from drospierski24/cflow-refactor
Adjust TryFinally so TryFinallyReturn test case works
|
2025-07-11 10:48:25 -05:00 |
|
Xinlong Hu
|
b2bfeccc0f
|
Start of loops
|
2025-07-10 17:18:14 -05:00 |
|
Tim Sweet
|
dbe2e964e4
|
fix pickle error: parse string instead of passing object up. also
include version in json
|
2025-07-10 16:50:36 -05:00 |
|
Xinlong Hu
|
312ac19fad
|
Merge branch 'cflow-refactor' of https://github.com/XinlongCS/pylingual into cflow-refactor
|
2025-07-10 15:54:45 -05:00 |
|
Joel Flores
|
c628a5dad5
|
3.13 equivalance check fix
|
2025-07-10 15:52:55 -05:00 |
|
Xinlong Hu
|
f340085b61
|
Merge branch 'cflow-refactor' of https://github.com/XinlongCS/pylingual into cflow-refactor
|
2025-07-10 15:26:22 -05:00 |
|
drospierski24
|
a70c0537cf
|
Adjust TryFinally so TryFinallyReturn test case works
|
2025-07-10 15:02:08 -05:00 |
|
Tim Sweet
|
0c5b5ba27d
|
make cflow.py able to output json
|
2025-07-10 13:53:23 -05:00 |
|
Tim Sweet
|
f4db48c276
|
Add more test cases
|
2025-07-10 13:53:23 -05:00 |
|
Joel-Flores123
|
190c065a70
|
Merge pull request #61 from XinlongCS/3.6/3.7/3.8-improvements
Misc improvements
|
2025-07-10 13:52:06 -05:00 |
|
Xinlong Hu
|
28882980c9
|
Merge branch 'cflow-refactor' into 3.6/3.7/3.8-improvements
|
2025-07-10 12:35:01 -05:00 |
|
Joel-Flores123
|
701dfd754b
|
Merge pull request #60 from drospierski24/cflow-refactor
Exception.py updated for 3.6/3.7/3.8 to handle additional tryFinally test cases
|
2025-07-10 12:28:05 -05:00 |
|
drospierski24
|
59585c54e6
|
Merge branch 'cflow-refactor' into cflow-refactor
|
2025-07-10 12:11:46 -05:00 |
|
Xinlong Hu
|
fc932ff569
|
Merge branch 'general-improvements' into cflow-refactor
|
2025-07-10 12:06:52 -05:00 |
|
caandt
|
f4a5d1dc1e
|
fix decorator in <=3.7 cflow
|
2025-07-10 11:56:14 -05:00 |
|
Xinlong Hu
|
32e548e22a
|
Assertion 3.6/3.7/3.8
|
2025-07-10 11:48:03 -05:00 |
|
Joel-Flores123
|
7133220875
|
Merge pull request #57 from XinlongCS/cflow-refactor
Try-Except 3.6/3.7/3.8 + 3.9/3.10 + 3.11/3.12/3.13 test cases
|
2025-07-10 11:29:30 -05:00 |
|
drospierski24
|
60eb0c642b
|
minor update
|
2025-07-10 10:40:07 -05:00 |
|
drospierski24
|
464868ffcd
|
additional test cases (comments removed for some)
|
2025-07-10 10:28:40 -05:00 |
|
drospierski24
|
4b46eafa32
|
Additional test cases - New Finally Cases Are Successful
|
2025-07-09 16:51:01 -05:00 |
|
drospierski24
|
91c29c8ea8
|
TryReturnFinally test case - Return Finally added
|
2025-07-09 16:42:37 -05:00 |
|
Xinlong Hu
|
6a63b8130a
|
Assertion/TryExceptFinally Fix
|
2025-07-09 15:31:48 -05:00 |
|
Xinlong Hu
|
d84149dc35
|
Merge branch 'cflow-refactor' into general-improvements
|
2025-07-09 15:29:26 -05:00 |
|
Xinlong Hu
|
471f99297e
|
Try statement was not matching correctly
import os
import site
import sys
try:
abs_file = os.path.abspath(__file__)
except NameError:
raise AssertionError("You must use exec(open(this_file).read(), {'__file__': this_file}))")
bin_dir = os.path.dirname(abs_file)
base = bin_dir[:-len('Scripts') - 1]
os.environ['PATH'] = os.pathsep.join( + os.environ.get('PATH', '').split(os.pathsep))
os.environ['VIRTUAL_ENV'] = base
prev_length = len(sys.path)
for lib in '..\\Lib\\site-packages'.split(os.pathsep):
path = os.path.realpath(os.path.join(bin_dir, lib))
site.addsitedir(path.decode('utf-8') if '' else path)
sys.path[:] = sys.path + sys.path[0:prev_length]
sys.real_prefix = sys.prefix
sys.prefix = base
|
2025-07-09 14:42:17 -05:00 |
|
Xinlong Hu
|
5206c6e27b
|
3.13 With statement was missing return
def _view(cls, array: np.ndarray) -> 'Array':
"""pass"""
with cls._view_without_verification():
array = array.view(cls)
return array
|
2025-07-09 14:18:14 -05:00 |
|
Xinlong Hu
|
15ccfa21ea
|
Discarding footer code in some cases
```
def get_secret(self, secret_name: str) -> KeyVaultSecret:
secret_client: SecretClient = self.get_secret_client()
try:
secret: KeyVaultSecret = secret_client.get_secret(name=secret_name)
except ResourceNotFoundError:
self.logger.error("Secret '%s' was not found in keyvault '%s'.", secret_name, self.name, exc_info=True)
raise KeyvaultError
except HttpResponseError:
self.logger.error("An error occurred while retrieving the secret '%s' from keyvault '%s'.", secret_name,
self.name, exc_info=True)
raise KeyvaultError
return secret
```
|
2025-07-09 12:31:18 -05:00 |
|
Xinlong Hu
|
a0feb5a008
|
Constraining IfElse and expanding TryExcept
|
2025-07-09 11:36:30 -05:00 |
|
drospierski24
|
84ffb3e0bc
|
3.6 handles TryFinallyBareReturn
|
2025-07-09 11:13:32 -05:00 |
|
Xinlong Hu
|
e887a24bf1
|
Assertion fix
|
2025-07-07 17:02:57 -05:00 |
|
Xinlong Hu
|
5e6c46c297
|
END_FINALLY not matching some cases
|
2025-07-07 15:49:23 -05:00 |
|
Xinlong Hu
|
c7ac2dc18c
|
Overlap with raise Exc fix + helper method
|
2025-07-07 13:41:03 -05:00 |
|
drospierski24
|
80e9b6c564
|
fix 3.9 differences between def and non-def
|
2025-07-07 12:45:33 -05:00 |
|
Xinlong Hu
|
d5a859e8b9
|
Outside def fix
|
2025-07-07 12:43:09 -05:00 |
|
Xinlong Hu
|
5765e07b10
|
Fixed assertion matching
|
2025-07-07 12:06:56 -05:00 |
|
drospierski24
|
0049dc07ae
|
Update cflow.py
|
2025-07-07 11:57:16 -05:00 |
|
Xinlong Hu
|
41c5d4ffe0
|
3.6/3.7/3.8 Constraining BareExcept and loosening Except
aa1 completed, aa2 incomplete, abandoning node
|
2025-07-03 16:53:29 -05:00 |
|
Xinlong Hu
|
93ee5cd830
|
Additional failing test case
|
2025-07-03 16:27:59 -05:00 |
|