Skip to content

Embedded Python bug fixes#47

Merged
isc-tleavitt merged 8 commits intomasterfrom
PythonMethodSpacing
Aug 15, 2024
Merged

Embedded Python bug fixes#47
isc-tleavitt merged 8 commits intomasterfrom
PythonMethodSpacing

Conversation

@isc-cge
Copy link
Collaborator

@isc-cge isc-cge commented Aug 14, 2024

Bug fixes related to Embedded Python:

  • Fixed bug ERROR #5002: ObjectScript error: UpdateComplexity+9^TestCoverage.Data.CodeUnit.1 <<==== FAILED
    likely caused by circular dependencies involving the GetCurrentByName call in UpdateComplexity, by replacing calls to GetCurrentByName with calls to GetCurrentHash if possible, and also not calling UpdateComplexity unnecessarily.

  • Fixed mapping issue caused by empty lines at top of Python method not showing up in compiled Python. The error handling for inconsistent Python and CLS code is now working, and I also wrote a unit test for the empty line issue.

…ger use GetCurrentByName just for getting the hash and code of a CodeUnit
…nes at the top of a .CLS version of a Python method, added unit test for that; also fixed error handling on the Python to CLS line mapping
… was 0, inconsequential fix so I'm just bundling it here
I accidentally pushed the listener change to the wrong branch
@isc-cge isc-cge changed the title Python method spacing Embedded Python bug fixes Aug 15, 2024
@isc-tleavitt isc-tleavitt merged commit 41a87e2 into master Aug 15, 2024
@isc-tleavitt isc-tleavitt deleted the PythonMethodSpacing branch August 15, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants