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-29347: Fix possibly dereferencing undefined pointers when creating weakref objects #188

Merged
merged 1 commit into from
Feb 20, 2017

Conversation

zhangyangyu
Copy link
Member

No description provided.

@codecov-io
Copy link

Codecov Report

Merging #188 into 3.5 will decrease coverage by -0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              3.5     #188      +/-   ##
==========================================
- Coverage   82.41%   82.41%   -0.01%     
==========================================
  Files        1404     1404              
  Lines      341433   341433              
==========================================
- Hits       281402   281396       -6     
- Misses      60031    60037       +6
Impacted Files Coverage Δ
Lib/sysconfig.py 47.02% <ø> (-0.55%)
Lib/test/test_weakset.py 96.45% <ø> (-0.28%)
Lib/test/test_random.py 98.2% <ø> (-0.23%)
Lib/test/test_buffer.py 96.53% <ø> (-0.18%)
Lib/test/test_asyncio/test_tasks.py 97.1% <ø> (-0.07%)
Lib/test/test_io.py 96.95% <ø> (-0.04%)
Lib/plistlib.py 90.95% <ø> (+0.17%)
Lib/threading.py 82.26% <ø> (+0.52%)
Lib/test/test_select.py 89.23% <ø> (+1.53%)

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 314a86b...7e67474. Read the comment docs.

@zhangyangyu zhangyangyu merged commit 7c95a94 into python:3.5 Feb 20, 2017
@zhangyangyu zhangyangyu deleted the weakref-fix-3.5 branch February 20, 2017 06:33
akruis pushed a commit to akruis/cpython that referenced this pull request Dec 31, 2018
…nd coroutines

Improve the finalisation of a soft switched YIELD_FROM instruction.
akruis pushed a commit to akruis/cpython that referenced this pull request Dec 31, 2018
…ed methods

Enable stackless calls of the following methods:
- generator.send() (generator.__next__() was already stackless);
- coroutine.send();
- coroutine_wrapper.__next__() and coroutine_wrapper.send();
- async_generator_asend.__next__() and async_generator_asend.send().

This change needs more tests.
akruis pushed a commit to akruis/cpython that referenced this pull request Jan 1, 2019
Fix a error handling in the YIELD_FROM finalisation code.
Add tests and changelog.txt
akruis pushed a commit to akruis/cpython that referenced this pull request Jan 12, 2019
…(async) generators and coroutines

Enable soft switching for iterators/coroutines called by "yield from".
Improve the finalisation of a soft switched YIELD_FROM instruction.
Enable stackless calls of the following methods:
- generator.send() (generator.__next__() was already stackless);
- coroutine.send();
- coroutine_wrapper.__next__() and coroutine_wrapper.send();
- async_generator_asend.__next__() and async_generator_asend.send().
akruis pushed a commit to akruis/cpython that referenced this pull request Apr 20, 2021
…#188

This commit fixes an assert statement, that could fail since python#188.
No functional change.

(cherry picked from commit 5595eec)
akruis pushed a commit to akruis/cpython that referenced this pull request May 27, 2021
…#188

This commit fixes an assert statement, that could fail since python#188.
No functional change.
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.

4 participants