Skip to content

Move debug_stream initialization to helper method - #471

Merged
kislyuk merged 1 commit into
kislyuk:developfrom
azhu-tower:develop
Jan 29, 2024
Merged

kislyuk merged 1 commit into
kislyuk:developfrom
azhu-tower:develop

Conversation

@azhu-tower

Copy link
Copy Markdown
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

@kislyuk kislyuk left a comment

Copy link
Copy Markdown
Owner

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
Copy Markdown
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
@kislyuk

kislyuk commented Mar 8, 2024

Copy link
Copy Markdown
Owner

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