Skip to content

fileinput with inplace=True ignores errors parameter #93157

Closed

Description

@JelleZijlstra

#25272 by @methane added encoding and errors parameters to fileinput.FileInput, but ignored them in the case where inplace=True is passed. Later #25648 added use of encoding in this branch, but not errors. I don't see why errors shouldn't also be used in that branch, but maybe I'm missing something.

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    3.11only security fixes
    3.12only security fixes
    on May 24, 2022
  2. added a commit that references this issue on May 24, 2022
  3. added 2 commits that reference this issue on Jul 24, 2022
  4. added a commit that references this issue on Jul 24, 2022
  5. added 2 commits that reference this issue on Jul 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.10 (EOL)end of life3.11only security fixes3.12only security fixestype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions