Skip to content

Use set literals instead of creating a set from a list #67012

@rhettinger

Description

@rhettinger
BPO 22823
Nosy @rhettinger, @terryjreedy, @vstinner, @larryhastings, @benjaminp, @ezio-melotti, @voidspace, @berkerpeksag, @serhiy-storchaka
Files
  • set_literal.patch: Set literal patch
  • more_set_literals.patch: More set literals
  • set_literal_2.patch
  • set_literal_clinic.patch
  • set_literal_mock.patch
  • issue22823-mock.diff
  • set_literal_2to3.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 = 'https://github.com/serhiy-storchaka'
    closed_at = <Date 2014-12-13.19:56:38.138>
    created_at = <Date 2014-11-09.03:04:47.462>
    labels = ['easy', 'type-feature', 'library']
    title = 'Use set literals instead of creating a set from a list'
    updated_at = <Date 2014-12-13.19:56:38.138>
    user = 'https://github.com/rhettinger'

    bugs.python.org fields:

    activity = <Date 2014-12-13.19:56:38.138>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2014-12-13.19:56:38.138>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2014-11-09.03:04:47.462>
    creator = 'rhettinger'
    dependencies = []
    files = ['37159', '37160', '37161', '37174', '37201', '37404', '37413']
    hgrepos = []
    issue_num = 22823
    keywords = ['patch', 'easy']
    message_count = 38.0
    messages = ['230879', '230881', '230898', '230900', '230903', '230904', '230905', '230906', '230910', '230911', '230912', '230914', '230915', '230916', '230917', '230918', '230920', '230921', '231002', '231005', '231009', '231142', '231204', '231206', '231223', '231224', '231230', '232406', '232453', '232462', '232463', '232464', '232465', '232468', '232496', '232580', '232618', '232619']
    nosy_count = 10.0
    nosy_names = ['rhettinger', 'terry.reedy', 'vstinner', 'larry', 'benjamin.peterson', 'ezio.melotti', 'michael.foord', 'python-dev', 'berker.peksag', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue22823'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Labels

    easystdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions