GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove io.OpenWrapper, deprecated in Python 3.10 · Issue #94169 · python/cpython

Remove io.OpenWrapper, deprecated in Python 3.10 #94169

New issue
Copy link
New issue
Copy link
Closed
Closed
Remove io.OpenWrapper, deprecated in Python 3.10#94169
Copy link
Labels
topic-IOtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@vstinner
vstinner
opened on Jun 23, 2022
Issue body actions

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.

Activity

  1. vstinner
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Jun 23, 2022
  2. vstinner commented on Jun 23, 2022

    @vstinner
    vstinner
    on Jun 23, 2022
    MemberAuthor
    More actions

    Static methods were made callable in issue #87848. See also the python-dev thread: https://mail.python.org/archives/list/[email protected]/thread/QZ7SFW3IW3S2C5RMRJZOOUFSHHUINNME/

  3. AlexWaygood
    added
    topic-IO
    on Jun 23, 2022
  4. vstinner
    added a commit that references this issue on Jun 24, 2022

    gh-94169: Remove deprecated io.OpenWrapper (#94170)

    6e33ba1
  5. vstinner
    closed this as completedon Jun 24, 2022
  6. serhiy-storchaka
    added a commit that references this issue on Jun 26, 2022

    Revert 30935 defer bpo45162 to 312 (#94285)

    1ffde3e
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

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.