| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
IMHO this is a bug fix because you can currently block all Python threads using termios, hence it should be back ported to 3.10 and 3.11. |
Sorry, something went wrong.
There was a problem hiding this comment.
Overall lgtm,
Super nit: Please unindent between Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS when considering the style of other code bases.
Sorry, something went wrong.
I'll change that before merging. I indent the code between these markers in my own code (including teaching clang-format about this) because this makes it clearer that there's a block of code with slightly different semantics. I prefer my own code style here, but consistency wins. |
Sorry, something went wrong.
This matches the rest of the code base.
|
Thanks @ronaldoussoren for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
Sorry, something went wrong.
|
Sorry, @ronaldoussoren, I could not cleanly backport this to 3.10 due to a conflict. |
Sorry, something went wrong.
|
GH-99679 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
Without releasing the GIL calls to termios APIs might block the entire interpreter. (cherry picked from commit 959ba45) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
|
GH-99680 is a backport of this pull request to the 3.10 branch. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Calls to termios APIs might block, therefore give up the GIL while performing these calls.