◐ Shell
clean mode source ↗

bpo-28810: Document BUILD_TUPLE_UNPACK_WITH_CALL bytecode added in 3.6 by ilevkivskyi · Pull Request #239 · python/cpython

@ilevkivskyi

serhiy-storchaka

brettcannon

brettcannon pushed a commit to brettcannon/cpython that referenced this pull request

Mar 10, 2017

akruis added 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 added 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 added 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 added a commit to akruis/cpython that referenced this pull request

May 5, 2021

akruis added 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 added 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 added a commit to akruis/cpython that referenced this pull request

May 9, 2021
Use stackless._stackless._test_outside instead of
stackless.test_outside.

akruis added a commit to akruis/cpython that referenced this pull request

May 13, 2021
Simplify context switching as sugested by Kristján.

akruis added a commit to akruis/cpython that referenced this pull request

May 18, 2021

akruis added 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 added 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 pushed a commit that referenced this pull request

Dec 2, 2022

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.