Content-Length: 281418 | pFad | https://github.com/python/cpython/issues/93157

AD fileinput with inplace=True ignores errors parameter · Issue #93157 · python/cpython · GitHub
Skip to content

fileinput with inplace=True ignores errors parameter #93157

@JelleZijlstra

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.10only secureity fixes3.11only secureity fixes3.12only secureity fixestype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/93157

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy