Skip to content

Remove typing.io and typing.re #92871

Closed
Closed

Description

@srittau

As discussed in #82472 and mentioned in the documentation, the typing.io and typing.re submodules are scheduled for removal in Python 3.12. They've been deprecated since Python 3.8.

I'm preparing a PR.

(Side note: There doesn't seem to be a matching issue template for this kind of issue.)

Activity

  1. srittau commented on May 17, 2022

    @srittau
    ContributorAuthor

    Cc @gvanrossum and @JelleZijlstra as resident typing experts.

  2. added a commit that references this issue on May 17, 2022
    149e383
  3. srittau commented on May 17, 2022

    @srittau
    ContributorAuthor

    PR: #92873 (didn't get linked automatically?)

  4. arhadthedev commented on May 17, 2022

    @arhadthedev
    Member

    @srittau Bedevere the bot has this feature disabled for a while. python/bedevere#430 will enable it back after merging (i believe it's on feedback gathering stage).

  5. srittau commented on May 18, 2022

    @srittau
    ContributorAuthor

    Interestingly, importing from typing.re or typing.io never worked at type check time. Since typeshed doesn't include those namespaces, when --ignore-missing-imports is used, any imports from those namespaces were silently assumed to by Any.

  6. added a commit that references this issue on Nov 2, 2022
  7. added 2 commits that reference this issue on Nov 2, 2022
  8. added a commit that references this issue on Nov 2, 2022
  9. added a commit that references this issue on May 7, 2023
  10. added a commit that references this issue on Feb 12, 2024
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions