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

Read tokens correctly from GDB's output on Windows (#55) #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

barisione
Copy link
Collaborator

@barisione barisione commented Aug 13, 2022

  • I have added an entry to CHANGELOG.md

Summary of changes

Original patch by Leonardo Pereira Santos (see PR #55); updated by Marco Barisione.

This is the description for the original PR:

Removed the make_non_blocking function. Refactored the _get_responses_windows method to use separate threads and queues to make reading non-blocking. solution based on this StackOverflow answer

Tests don't pass on Unix and I'm reluctant to modify the code as I cannot test it on Windows so I will let this here in case anybody can help.

Fixes #54

Test plan

Tested by running

nox -s tests

CURRENTLY FAILING ON UNIX

@cs01
Copy link
Owner

cs01 commented Aug 13, 2022

If anyone else ends up taking this on, GitHub actions support windows, so adding a windows CI test would give good confidence in the change and ensure it doesn’t break in the future.

Original patch by Leonardo Pereira Santos (see
cs01#55); updated by Marco Barisione.
@barisione barisione force-pushed the leonardopsantos-IoManager._get_responses_windows-fixes branch from 3d3facd to 0ef6ea1 Compare August 14, 2022 08:28
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.

IoManager._get_responses_windows mangles token when reading from stdout
2 participants