Skip to content

Sentinels identity lost when pickled (unittest.mock) #65003

@VlastimilZma

Description

@VlastimilZma
BPO 20804
Nosy @bitdancer, @voidspace, @serhiy-storchaka, @applio
PRs
  • [Do Not Merge] Convert Misc/NEWS so that it is managed by towncrier #552
  • Files
  • pickle_sentinels.py
  • mock_sentinel_pickle.patch
  • sentinel-doc.patch
  • mock_sentinel_pickle2.patch
  • 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 2017-01-11.18:23:07.757>
    created_at = <Date 2014-02-28.09:22:37.196>
    labels = ['3.7', 'type-feature', 'tests']
    title = 'Sentinels identity lost when pickled (unittest.mock)'
    updated_at = <Date 2017-03-31.16:36:24.480>
    user = 'https://bugs.python.org/VlastimilZma'

    bugs.python.org fields:

    activity = <Date 2017-03-31.16:36:24.480>
    actor = 'dstufft'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-01-11.18:23:07.757>
    closer = 'serhiy.storchaka'
    components = ['Tests']
    creation = <Date 2014-02-28.09:22:37.196>
    creator = 'Vlastimil.Z\xc3\xadma'
    dependencies = []
    files = ['34256', '46245', '46253', '46260']
    hgrepos = []
    issue_num = 20804
    keywords = ['patch']
    message_count = 28.0
    messages = ['212417', '212434', '212440', '212451', '212452', '212454', '212455', '212460', '212461', '212462', '212476', '212481', '212621', '212633', '285152', '285156', '285161', '285202', '285203', '285208', '285212', '285239', '285241', '285244', '285249', '285251', '285252', '285254']
    nosy_count = 7.0
    nosy_names = ['peter.otten', 'r.david.murray', 'michael.foord', 'python-dev', 'serhiy.storchaka', 'Vlastimil.Z\xc3\xadma', 'davin']
    pr_nums = ['552']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue20804'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifetestsTests in the Lib/test dirtype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions