Skip to content

test_types: test_duck_gen() leaks reference #82332

Closed

Description

@vstinner
BPO 38151
Nosy @vstinner
Superseder
  • bpo-38152: AST change introduced tons of reference leaks
  • 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-09-13.09:38:56.866>
    created_at = <Date 2019-09-13.09:22:43.541>
    labels = ['tests', '3.9']
    title = 'test_types: test_duck_gen() leaks reference'
    updated_at = <Date 2019-09-13.09:38:56.865>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2019-09-13.09:38:56.865>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-09-13.09:38:56.866>
    closer = 'vstinner'
    components = ['Tests']
    creation = <Date 2019-09-13.09:22:43.541>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38151
    keywords = []
    message_count = 2.0
    messages = ['352250', '352260']
    nosy_count = 1.0
    nosy_names = ['vstinner']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '38152'
    type = None
    url = 'https://bugs.python.org/issue38151'
    versions = ['Python 3.9']

    Activity

    1. vstinner commented on Sep 13, 2019

      @vstinner
      MemberAuthor

      https://buildbot.python.org/all/#/builders/1/builds/712

      Python 3.8 is not affected, only the master branch.

      See also bpo-38150.

      vstinner@apu$ ./python -m test test_types -R 3:3 -m test.test_types.CoroutineTests.test_duck_gen
      Run tests sequentially
      0:00:00 load avg: 0.89 [1/1] test_types
      beginning 6 repetitions
      123456
      ......
      test_types leaked [7, 7, 7] references, sum=21
      test_types failed

      == Tests result: FAILURE ==

      1 test failed:
      test_types

      Total duration: 472 ms
      Tests result: FAILURE

    2. added
      3.9 (EOL)
      tests
      on Sep 13, 2019
    3. vstinner commented on Sep 13, 2019

      @vstinner
      MemberAuthor

      I opened bpo-38152 since much more tests are affected, not only test_types.

    4. transferred this issue fromon Apr 10, 2022
    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

      3.9 (EOL)tests

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions