Skip to content

Docs/behavior mismatch for reuse_address default #808

@b3b

Description

@b3b

Hi, thanks for maintaining this great library.

I noticed a docs/behavior mismatch around reuse_address.
Before 2.9.0, reuse_address defaulted to None, so omitting it preserved asyncio default behavior.
However, the default value was later changed to False, so reuse is now explicitly disabled unless requested.

This seems to have happened when type annotations were added: https://github.com/ronf/asyncssh/compare/v2.8.1...v2.9.0.patch

And the docs still say:

If not specified, this will be automatically set to True on UNIX.

Since this behavior has existed for a while, maybe this should be treated as a docs issue rather than a regression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions