Thanks to visit codestin.com
Credit goes to github.com

Skip to content

py/lexer.c: Clear fstring_args vstr on lexer free. #7679

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

jimmo
Copy link
Member

@jimmo jimmo commented Aug 18, 2021

I missed this in #7649 -- it's not strictly necessary as the GC will clean it anyway, but it's good to pre-emptively gc_free() all the blocks used in lexing/parsing.

+8 bytes on PYBV11.

@codecov-commenter
Copy link

Codecov Report

Merging #7679 (6631531) into master (44818d1) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #7679   +/-   ##
=======================================
  Coverage   98.25%   98.25%           
=======================================
  Files         154      154           
  Lines       20071    20071           
=======================================
  Hits        19721    19721           
  Misses        350      350           
Impacted Files Coverage Δ
py/lexer.c 98.99% <100.00%> (+<0.01%) ⬆️
py/obj.c 97.22% <0.00%> (-0.40%) ⬇️
py/runtime.c 99.24% <0.00%> (-0.16%) ⬇️
py/objfun.c 100.00% <0.00%> (ø)
py/parse.c 99.17% <0.00%> (+0.20%) ⬆️
py/bc.c 89.69% <0.00%> (+1.03%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 44818d1...6631531. Read the comment docs.

@dpgeorge dpgeorge added the py-core Relates to py/ directory in source label Aug 19, 2021
@dpgeorge
Copy link
Member

Thanks, merged in 5555f14

@dpgeorge dpgeorge closed this Aug 19, 2021
tannewt pushed a commit to tannewt/circuitpython that referenced this pull request Mar 21, 2023
be more careful when setting socket to non-blocking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
py-core Relates to py/ directory in source
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants