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

Move debug_stream initialization to helper method #471

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

azhu-tower
Copy link
Contributor

By default argcomplete tries to use fd 9 as its debug stream, but this could clash with something else trying to use the same file descriptor, for example a pytest plugin.

Split into a _init_debug_stream() helper method which can now be overridden in subclasses.

Closes #393

Copy link
Owner

@kislyuk kislyuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. This looks good, except please do not try to edit Changes.rst manually, it is automatically generated. Can you please remove that change from the PR?

By default argcomplete tries to use fd 9 as its debug stream, but
this could clash with something else trying to use the same file
descriptor, for example a pytest plugin.

Split into a _init_debug_stream() helper method which can now
be overridden in subclasses.
@azhu-tower
Copy link
Contributor Author

Yep updated, got thrown off by the missing bullet point in the most recent entry :)

@kislyuk kislyuk merged commit eafe0a3 into kislyuk:develop Jan 29, 2024
23 of 24 checks passed
@kislyuk
Copy link
Owner

kislyuk commented Mar 8, 2024

Released in v3.2.3, please test

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.

Allow debug_stream to be set optionally
2 participants