Skip to content

ValueError warning in test_urllib due to io.IOBase destructor #81099

@tirkarthi

Description

@tirkarthi
BPO 36918
Nosy @vstinner, @serhiy-storchaka, @miss-islington, @tirkarthi
PRs
  • bpo-36918: Don't close the object which is again closed by destructor #13317
  • bpo-36918, test_urllib: Silence FakeHTTPConnection destructor errors #13955
  • bpo-36918: Fix "Exception ignored in" in test_urllib #13996
  • [3.8] bpo-36918: Fix "Exception ignored in" in test_urllib (GH-13996) #13998
  • 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 = <Date 2019-06-12.02:42:40.104>
    created_at = <Date 2019-05-14.17:55:07.967>
    labels = ['type-bug', '3.8', '3.9', 'expert-IO']
    title = 'ValueError warning in test_urllib due to io.IOBase destructor'
    updated_at = <Date 2019-06-12.02:42:40.100>
    user = 'https://github.com/tirkarthi'

    bugs.python.org fields:

    activity = <Date 2019-06-12.02:42:40.100>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-06-12.02:42:40.104>
    closer = 'vstinner'
    components = ['IO']
    creation = <Date 2019-05-14.17:55:07.967>
    creator = 'xtreak'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36918
    keywords = ['patch']
    message_count = 8.0
    messages = ['342492', '342708', '342709', '342710', '345164', '345167', '345297', '345299']
    nosy_count = 4.0
    nosy_names = ['vstinner', 'serhiy.storchaka', 'miss-islington', 'xtreak']
    pr_nums = ['13317', '13955', '13996', '13998']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue36918'
    versions = ['Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions