-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bpo-28810: Document BUILD_TUPLE_UNPACK_WITH_CALL bytecode added in 3.6 #239
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@brettcannon Thank you for taking care of #238. I updated this PR accordingly, so that it is now ready for review. (This one only documents things added/changed in 3.6 so that it should be only backported to 3.6) |
serhiy-storchaka
approved these changes
Mar 4, 2017
brettcannon
approved these changes
Mar 10, 2017
brettcannon
pushed a commit
to brettcannon/cpython
that referenced
this pull request
Mar 10, 2017
pythonGH-239) (cherry picked from commit 7e52c3e)
Cherry-pick is in GH-605 |
akruis
pushed a commit
to akruis/cpython
that referenced
this pull request
Apr 30, 2021
… function Use a Py_LOCAL_INLINE function instead of a complicated macro. It is much simpler to debug. In the next commit, we will context switching to this function.
akruis
pushed a commit
to akruis/cpython
that referenced
this pull request
Apr 30, 2021
Add a private context attribute and appropriate methods to class tasklet. Document the changes in the manual. New methods: tasklet.set_context(context), tasklet.context_run(...) New readonly attribute: tasklet.context_id
akruis
pushed a commit
to akruis/cpython
that referenced
this pull request
May 5, 2021
Add/improve pickling of the context of tasklets. New pickle flag "PICKLEFLAGS_PICKLE_CONTEXT", new undocumented function stackless._tasklet_get_unpicklable_state()
akruis
pushed a commit
to akruis/cpython
that referenced
this pull request
May 5, 2021
akruis
pushed a commit
to akruis/cpython
that referenced
this pull request
May 8, 2021
- better documentation of the concept - fix a left-over from the time, when setting the context of a main- tasklet was not supported - fix the context handling, when the main tasklet starts/ends. Copy the context from/to the thread state.
akruis
pushed a commit
to akruis/cpython
that referenced
this pull request
May 8, 2021
- fix the context handling, when the main tasklet starts/ends. Copy the context from/to the thread state. Fix the test case.
akruis
pushed a commit
to akruis/cpython
that referenced
this pull request
May 9, 2021
Use stackless._stackless._test_outside instead of stackless.test_outside.
akruis
pushed a commit
to akruis/cpython
that referenced
this pull request
May 13, 2021
Simplify context switching as sugested by Kristján.
akruis
pushed a commit
to akruis/cpython
that referenced
this pull request
May 18, 2021
akruis
pushed a commit
to akruis/cpython
that referenced
this pull request
May 18, 2021
… function Use a Py_LOCAL_INLINE function instead of a complicated macro. It is much simpler to debug. In the next commit, we will context switching to this function.
akruis
added a commit
to akruis/cpython
that referenced
this pull request
May 21, 2021
Add a private context attribute and appropriate methods to class tasklet. Document the changes in the manual. New methods: tasklet.set_context(context), tasklet.context_run(...) New readonly attribute: tasklet.context_id Add/improve pickling of the context of tasklets. New pickle flag "PICKLEFLAGS_PICKLE_CONTEXT", new undocumented function stackless._tasklet_get_unpicklable_state()
akruis
pushed a commit
to akruis/cpython
that referenced
this pull request
Jun 5, 2021
… function Use a Py_LOCAL_INLINE function instead of a complicated macro. It is much simpler to debug. In the next commit, we will context switching to this function. (cherry picked from commit a11414b)
akruis
added a commit
to akruis/cpython
that referenced
this pull request
Jun 5, 2021
Add a private context attribute and appropriate methods to class tasklet. Document the changes in the manual. New methods: tasklet.set_context(context), tasklet.context_run(...) New readonly attribute: tasklet.context_id Add/improve pickling of the context of tasklets. New pickle flag "PICKLEFLAGS_PICKLE_CONTEXT", new undocumented function stackless._tasklet_get_unpicklable_state() (cherry picked from commit 032a566)
jaraco
added a commit
to jaraco/cpython
that referenced
this pull request
Feb 17, 2023
Replace tests of legacy API with comparable tests of traversable API.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds documentation for one more
_UNPACK
bytecode. This needs to be backported only to 3.6 and merged after #238Documentation of other bytecodes added in 3.6 is discussed at http://bugs.python.org/issue28810
@serhiy-storchaka Please take a look.