Skip to content

bpo-36817: Fix reference leak for expr_text in f-string = parsing#13249

Merged
pablogsal merged 1 commit into
python:masterfrom
pablogsal:refleak_fstring
May 11, 2019
Merged

bpo-36817: Fix reference leak for expr_text in f-string = parsing#13249
pablogsal merged 1 commit into
python:masterfrom
pablogsal:refleak_fstring

Conversation

@pablogsal

@pablogsal pablogsal commented May 11, 2019

Copy link
Copy Markdown
Member

@pablogsal

Copy link
Copy Markdown
Member Author

❯ ./python -m test test_future -m test_annotations -R :
Run tests sequentially
0:00:00 load avg: 0.66 [1/1] test_future
beginning 9 repetitions
123456789
.........
test_future passed

== Tests result: SUCCESS ==

1 test OK.

Total duration: 324 ms
Tests result: SUCCESS

@ilevkivskyi ilevkivskyi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the fix! LGTM.

@ericvsmith ericvsmith left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for catching this. I kept thinking "I need to remember to make sure that memory gets freed", and then I forgot to do it.

@pablogsal

Copy link
Copy Markdown
Member Author

I am restarting the CI because appveyor failed with some random asyncio error.

@pablogsal
pablogsal merged commit 5833e94 into python:master May 11, 2019
@pablogsal
pablogsal deleted the refleak_fstring branch May 11, 2019 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants