Skip to content
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

bpo-43693: Revert commits 2c1e2583fdc4db6b43d163239ea42b0e8394171f and b2bf2bc1ece673d387341e06c8d3c2bc6e259747 #26530

Merged
merged 2 commits into from
Jun 4, 2021

Conversation

pablogsal
Copy link
Member

@pablogsal pablogsal commented Jun 4, 2021

@pablogsal
Copy link
Member Author

The leaks are fixed after the revert:

❯ ./python -m test test_code -R :
0:00:00 load avg: 5.88 Run tests sequentially
0:00:00 load avg: 5.88 [1/1] test_code
beginning 9 repetitions
123456789
.........

== Tests result: SUCCESS ==

1 test OK.

Total duration: 709 ms
Tests result: SUCCESS

master on  main [$?⇡]  pyenv 3.9.1
❯ ./python  -m test test_exceptions -R :
0:00:00 load avg: 5.88 Run tests sequentially
0:00:00 load avg: 5.88 [1/1] test_exceptions
beginning 9 repetitions
123456789
.........

== Tests result: SUCCESS ==

1 test OK.

Total duration: 21.7 sec
Tests result: SUCCESS

@pablogsal pablogsal merged commit 17c4edc into python:main Jun 4, 2021
@pablogsal pablogsal deleted the revert-bpo-43693 branch June 4, 2021 16:51
ericsnowcurrently added a commit to ericsnowcurrently/cpython that referenced this pull request Jun 7, 2021
These were reverted in pythonGH-26530 (commit 17c4edc).

* Compute deref offsets in compiler (pythongh-25152)
* Add new internal code objects fields: co_fastlocalnames and co_fastlocalkinds. (pythongh-26388)
ericsnowcurrently added a commit that referenced this pull request Jun 7, 2021
These were reverted in gh-26530 (commit 17c4edc) due to refleaks.

* 2c1e258 - Compute deref offsets in compiler (gh-25152)
* b2bf2bc - Add new internal code objects fields: co_fastlocalnames and co_fastlocalkinds. (gh-26388)

This change fixes the refleaks.

https://bugs.python.org/issue43693
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.

3 participants