Skip to content

PEP 597: Fix EncodingWarning warnings in the Python stdlib #87817

Closed

Description

@methane
BPO 43651
Nosy @vstinner, @methane
PRs
  • bpo-43651: Fix EncodingWarning in test_io #25097
  • bpo-43651: Fix EncodingWarning in test_file and test_file_eintr #25109
  • bpo-43651: Fix EncodingWarning in test_warnings #25126
  • bpo-43651: Fix EncodingWarning in lib2to3/pgen2/pgen.py #25127
  • bpo-43651: Fix test_compileall with PEP 597 #25128
  • bpo-43651: PEP 597: Fix EncodingWarning in some tests #25142
  • bpo-43651: PEP 597: Fix EncodingWarning in some tests #25145
  • bpo-43651: PEP 597: Fix EncodingWarning in test_email #25158
  • bpo-43651: PEP 597: Fix EncodingWarning in test_filecmp #25159
  • bpo-43651: PEP 597: Fix EncodingWarning in some tests #25171
  • bpo-43651: PEP 597: Fix EncodingWarning in some tests #25181
  • bpo-43651: PEP 597: Fix EncodingWarning in some tests #25189
  • bpo-43651: PEP 597: Fix EncodingWarning in some tests #25190
  • bpo-43651: Fix EncodingWarning in sysconfig #25192
  • bpo-43651: PEP 597: Fix pdeps used locale encoding. #25204
  • bpo-43651: Fix EncodingWarning in pydoc. #25644
  • bpo-43651: PEP 597: Fix EncodingWarning in socket.makefile() #25645
  • bpo-43651: Fix EncodingWarning in fileinput and its test #25648
  • bpo-43651: Fix EncodingWarning in zipfile #25650
  • bpo-43651: Fix EncodingWarning in os.fdopen() and test_os #25654
  • bpo-43651: Fix EncodingWarning in tests. #25655
  • bpo-43651: Fix test_logging #25715
  • Superseder
  • bpo-43510: PEP 597: Implemente encoding="locale" option and EncodingWarning
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2021-03-29.04:30:27.870>
    labels = ['3.10']
    title = 'PEP 597: Fix EncodingWarning warnings in the Python stdlib'
    updated_at = <Date 2021-04-29.11:37:41.800>
    user = 'https://github.com/methane'

    bugs.python.org fields:

    activity = <Date 2021-04-29.11:37:41.800>
    actor = 'methane'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = []
    creation = <Date 2021-03-29.04:30:27.870>
    creator = 'methane'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43651
    keywords = ['patch']
    message_count = 22.0
    messages = ['389945', '389946', '390019', '390020', '390021', '390033', '390158', '390176', '390220', '390221', '390222', '390268', '390271', '390273', '390293', '392021', '392024', '392030', '392031', '392274', '392275', '392301']
    nosy_count = 3.0
    nosy_names = ['vstinner', 'methane', 'ttx11529']
    pr_nums = ['25097', '25109', '25126', '25127', '25128', '25142', '25145', '25158', '25159', '25171', '25181', '25189', '25190', '25192', '25204', '25644', '25645', '25648', '25650', '25654', '25655', '25715']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = '43510'
    type = None
    url = 'https://bugs.python.org/issue43651'
    versions = ['Python 3.10']

    Activity

    1. changed the title [-]PEP 597: Fix EncodingError[/-] [+]PEP 597: Fix EncodingWarning warnings in the Python stdlib[/+] on Mar 30, 2021
    2. methane commented on Apr 1, 2021

      @methane
      MemberAuthor

      New changeset 55f31be by Inada Naoki in branch 'master':
      bpo-43651: Fix EncodingWarning in test_file and test_file_eintr (GH-25109)
      55f31be

    3. methane commented on Apr 1, 2021

      @methane
      MemberAuthor

      New changeset 58cffba by Inada Naoki in branch 'master':
      bpo-43651: Fix EncodingWarning in test_io (GH-25097)
      58cffba

    4. methane commented on Apr 1, 2021

      @methane
      MemberAuthor

      New changeset 036fc7d by Inada Naoki in branch 'master':
      bpo-43651: Fix EncodingWarning in test_warnings (GH-25126)
      036fc7d

    5. methane commented on Apr 1, 2021

      @methane
      MemberAuthor

      New changeset c0ec448 by Inada Naoki in branch 'master':
      bpo-43651: Fix EncodingWarning in lib2to3/pgen2/pgen.py (GH-25127)
      c0ec448

    6. methane commented on Apr 2, 2021

      @methane
      MemberAuthor

      New changeset 8001775 by Inada Naoki in branch 'master':
      bpo-43651: Fix test_compileall with PEP-597 (GH-25128)
      8001775

    7. methane commented on Apr 2, 2021

      @methane
      MemberAuthor

      New changeset 8bbfeb3 by Inada Naoki in branch 'master':
      bpo-43651: PEP-597: Fix EncodingWarning in some tests (GH-25142)
      8bbfeb3

    8. methane commented on Apr 4, 2021

      @methane
      MemberAuthor

      New changeset 35715d1 by Inada Naoki in branch 'master':
      bpo-43651: PEP-597: Fix EncodingWarning in some tests (GH-25145)
      35715d1

    9. methane commented on Apr 4, 2021

      @methane
      MemberAuthor

      New changeset 3caea9a by Inada Naoki in branch 'master':
      bpo-43651: PEP-597: Fix EncodingWarning in some tests (GH-25171)
      3caea9a

    10. methane commented on Apr 5, 2021

      @methane
      MemberAuthor

      New changeset de522a8 by Inada Naoki in branch 'master':
      bpo-43651: PEP-597: Fix test_email (GH-25158)
      de522a8

    11. methane commented on Apr 5, 2021

      @methane
      MemberAuthor

      New changeset ee952b5 by Inada Naoki in branch 'master':
      bpo-43651: PEP-597: Fix EncodingWarning in test_filecmp (GH-25159)
      ee952b5

    12. methane commented on Apr 5, 2021

      @methane
      MemberAuthor

      New changeset c8e5eb9 by Inada Naoki in branch 'master':
      bpo-43651: PEP-597: Fix EncodingWarning in some tests (GH-25181)
      c8e5eb9

    13. methane commented on Apr 6, 2021

      @methane
      MemberAuthor

      New changeset 3d4af4a by Inada Naoki in branch 'master':
      bpo-43651: Fix EncodingWarning in sysconfig (GH-25192)
      3d4af4a

    14. methane commented on Apr 6, 2021

      @methane
      MemberAuthor

      New changeset fb78692 by Inada Naoki in branch 'master':
      bpo-43651: PEP-597: Fix EncodingWarning in some tests (GH-25189)
      fb78692

    15. methane commented on Apr 6, 2021

      @methane
      MemberAuthor

      New changeset 4663e5f by Inada Naoki in branch 'master':
      bpo-43651: PEP-597: Fix EncodingWarning in some tests (GH-25190)
      4663e5f

    16. methane commented on Apr 6, 2021

      @methane
      MemberAuthor

      New changeset 489c369 by Inada Naoki in branch 'master':
      bpo-43651: PEP-597: Fix pdeps used locale encoding (GH-25204)
      489c369

    17. methane commented on Apr 27, 2021

      @methane
      MemberAuthor

      New changeset 9dfefbe by Inada Naoki in branch 'master':
      bpo-43651: Fix EncodingWarning in pydoc. (GH-25644)
      9dfefbe

    18. methane commented on Apr 27, 2021

      @methane
      MemberAuthor

      New changeset cfe523b by Inada Naoki in branch 'master':
      bpo-43651: PEP-597: Fix socket.makefile() (GH-25645)
      cfe523b

    19. methane commented on Apr 27, 2021

      @methane
      MemberAuthor

      New changeset caae717 by Inada Naoki in branch 'master':
      bpo-43651: Fix EncodingWarning in zipfile (GH-25650)
      caae717

    20. methane commented on Apr 27, 2021

      @methane
      MemberAuthor

      New changeset 878bc8b by Inada Naoki in branch 'master':
      bpo-43651: Fix EncodingWarning in fileinput and its test (GH-25648)
      878bc8b

    21. methane commented on Apr 29, 2021

      @methane
      MemberAuthor

      New changeset fa51c0c by Inada Naoki in branch 'master':
      bpo-43651: Fix EncodingWarning in tests. (GH-25655)
      fa51c0c

    22. methane commented on Apr 29, 2021

      @methane
      MemberAuthor

      New changeset a692565 by Inada Naoki in branch 'master':
      bpo-43651: Fix EncodingWarning in os.fdopen() and test_os (GH-25654)
      a692565

    23. methane commented on Apr 29, 2021

      @methane
      MemberAuthor

      New changeset 53dd6c9 by Inada Naoki in branch 'master':
      bpo-43651: Fix test_logging (GH-25715)
      53dd6c9

    24. transferred this issue fromon Apr 10, 2022
    25. vstinner commented on May 6, 2022

      @vstinner
      Member

      @methane methane closed this 5 hours ago

      Well done! That's a great achievement!

    26. added 2 commits that reference this issue on Jan 19, 2023
    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