kislyuk / argcomplete

Python and tab completion, better together.
https://kislyuk.github.io/argcomplete/
Apache License 2.0
1.39k stars 129 forks source link

Move debug_stream initialization to helper method #471

Closed azhu-tower closed 5 months ago

azhu-tower commented 5 months ago

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

azhu-tower commented 5 months ago

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

kislyuk commented 3 months ago

Released in v3.2.3, please test