Skip to content

posixmodule: fd_and_follow_symlinks_invalid lets fd be 0 #144023

@AZero13

Description

@AZero13

Bug report

Bug description:

fd_and_follow_symlinks_invalid does not trigger an error is fd is 0 and followsymlinks is false

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    extension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions