[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-31 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-19 Thread Mark Shannon
Mark Shannon added the comment: New changeset 37bdd2221ce3607a81d5d7fafc4603d95ca3e8cb by Miss Islington (bot) in branch '3.10': bpo-44645: Check for interrupts on any potentially backwards edge (GH-27216) (GH-27235)

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-19 Thread Mark Shannon
Mark Shannon added the comment: New changeset d09c13417890427f829e3df297beb0e27133f8f4 by Mark Shannon in branch 'main': bpo-44645: Check for interrupts on any potentially backwards edge (GH-27216) https://github.com/python/cpython/commit/d09c13417890427f829e3df297beb0e27133f8f4 --

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +25783 pull_request: https://github.com/python/cpython/pull/27235 ___ Python tracker ___

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-17 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +25755 pull_request: https://github.com/python/cpython/pull/27216 ___ Python tracker ___

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-17 Thread Mark Shannon
Mark Shannon added the comment: Can we at least include the fix, until we can come up with a better test? That test fails on 3.9 as well as 3.10 and main. With a 3.9 build and the test in #27194: ./python -m test test_threading -R : 0:00:00 load avg: 0.95 Run tests sequentially 0:00:00 load

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-16 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 42a5514cca6b4542f6b492b5652e337f15a89227 by Miss Islington (bot) in branch '3.10': Revert "bpo-44645: Check for interrupts on any potentially backwards edge. (GH-27167)" (GH-27194) (#27195)

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-16 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +25730 pull_request: https://github.com/python/cpython/pull/27195 ___ Python tracker

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-16 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c90c591e5158ab7b531dcd6e2a5f00bc70ba7637 by Pablo Galindo Salgado in branch 'main': Revert "bpo-44645: Check for interrupts on any potentially backwards edge. (GH-27167)" (#27194)

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: To reproduce the problem: $./python -m test test_threading -R : -v ... test_original_excepthook (test.test_threading.ExceptHookTests) ... ok test_system_exit (test.test_threading.ExceptHookTests) ... ok test_can_interrupt_tight_loops

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg397640 ___ Python tracker ___ ___ Python-bugs-list

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: To reproduce the problem: ./python -m test test_threading -R : - -- ___ Python tracker ___

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +25729 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/27194 ___ Python tracker ___

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: PR 27167 hangs or fails. in the refleak buildbots, so I am going to proceed to revert -- resolution: fixed -> status: closed -> open ___ Python tracker

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 0e349ea5541104c76cafc173bfcfef8de872f96f by Mark Shannon in branch '3.10': [3.10] bpo-44645: Check for interrupts on any potentially backwards edge. (GH-27167) (GH-27183)

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-16 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +25720 pull_request: https://github.com/python/cpython/pull/27183 ___ Python tracker ___

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-16 Thread Mark Shannon
Mark Shannon added the comment: New changeset 000e70ad5246732fcbd27cf59268185cbd5ad734 by Mark Shannon in branch 'main': bpo-44645: Check for interrupts on any potentially backwards edge. (GH-27167) https://github.com/python/cpython/commit/000e70ad5246732fcbd27cf59268185cbd5ad734

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-15 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +25703 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/27167 ___ Python tracker

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-15 Thread Mark Shannon
Mark Shannon added the comment: https://github.com/python/cpython/pull/18334 assumes that since all loops will contain a backwards edge, checking for interrupts on JUMP_ABSOLUTE should be sufficient. However, https://github.com/python/cpython/pull/23743 changed the back edges in while

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-15 Thread Jesús Cea Avión
Change by Jesús Cea Avión : -- components: +Interpreter Core stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-15 Thread Jesús Cea Avión
New submission from Jesús Cea Avión : After https://github.com/python/cpython/pull/18334, a "while condition: pass" in a thread will preclude releasing the GIL, hanging the program with CPU at 100%. Trivial to reproduce: """ #!/usr/bin/env python3.10 import threading import time def