Skip to content

Conversation

@wetor
Copy link
Contributor

@wetor wetor commented Oct 12, 2023

After several hours of reading the Python source code, it was found that the closure issue was only caused by the lack of assignment to Code.Cell2arg

The submission still requires some optimization, and I will complete it in the near future. If possible, I would also like to receive some coding suggestions

@codecov
Copy link

codecov bot commented Oct 12, 2023

Codecov Report

Attention: 18 lines in your changes are missing coverage. Please review.

Comparison is base (7102b79) 74.52% compared to head (515de2a) 74.81%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #225      +/-   ##
==========================================
+ Coverage   74.52%   74.81%   +0.29%     
==========================================
  Files          78       78              
  Lines       12804    12814      +10     
==========================================
+ Hits         9542     9587      +45     
+ Misses       2583     2553      -30     
+ Partials      679      674       -5     
Files Coverage Δ
compile/compile.go 90.64% <100.00%> (+0.06%) ⬆️
py/code.go 34.88% <28.00%> (+22.97%) ⬆️

... and 6 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wetor
Copy link
Contributor Author

wetor commented Oct 13, 2023

PTAL, fixed an issue with compiler closures, and added test cases for decorators

@wetor wetor changed the title [WIP] compile,py: fix closure compile,py: fix closure and decorator Oct 13, 2023
@wetor
Copy link
Contributor Author

wetor commented Oct 13, 2023

please skip the Codecov that did not pass, as this part of the code has not been covered

@sbinet
Copy link
Member

sbinet commented Oct 16, 2023

(otherwise LGTM, thanks.)

Copy link
Member

@sbinet sbinet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks a lot for fixing this

@sbinet sbinet merged commit e9cde5f into go-python:main Oct 17, 2023
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