Skip to content

Remove io.OpenWrapper, deprecated in Python 3.10 #94169

@vstinner

Description

@vstinner

Since Python 3.10, io.OpenWrapper is no longer needed: just use open(). See issue #87846 for the long rationale. I modified staticmethod() in Python 3.10, so a static method is now a callable object.

It was deprecated in 2 Python versions (3.10 and 3.11), so it can now be removed (PEP 387).

I'm writing a PR to remove it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic-IOtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy