Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

"in" should be consistent with return value of __contains__ #60215

Copy link
Copy link
@nparikh

Description

@nparikh
mannequin
Issue body actions
BPO 16011
Nosy @mdickinson, @vstinner, @tiran, @ezio-melotti, @bitdancer, @berkerpeksag, @Mariatta, @elafontaine
PRs
  • bpo-16011: Clarify behavior of __contains__ in user defined classes #152
  • [3.6] bpo-16011: clarify that 'in' always returns a boolean value (GH-152) #874
  • [3.5] bpo-16011: clarify that 'in' always returns a boolean value (GH-152) #875
  • [2.7] bpo-16011: clarify that 'in' always returns a boolean value (GH-152) #883
  • 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-03-29.21:12:55.763>
    created_at = <Date 2012-09-24.00:13:50.841>
    labels = ['interpreter-core', 'easy', 'type-bug', '3.7', 'docs']
    title = '"in" should be consistent with return value of __contains__'
    updated_at = <Date 2017-03-29.21:12:55.762>
    user = 'https://bugs.python.org/nparikh'

    bugs.python.org fields:

    activity = <Date 2017-03-29.21:12:55.762>
    actor = 'Mariatta'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2017-03-29.21:12:55.763>
    closer = 'Mariatta'
    components = ['Documentation', 'Interpreter Core']
    creation = <Date 2012-09-24.00:13:50.841>
    creator = 'nparikh'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 16011
    keywords = ['easy']
    message_count = 21.0
    messages = ['171085', '171086', '171093', '171104', '171167', '171191', '171206', '287265', '287266', '287267', '287268', '287269', '287270', '287271', '287306', '290720', '290725', '290739', '290740', '290791', '290792']
    nosy_count = 10.0
    nosy_names = ['mark.dickinson', 'vstinner', 'christian.heimes', 'ezio.melotti', 'r.david.murray', 'docs@python', 'berker.peksag', 'nparikh', 'Mariatta', 'Eric Lafontaine']
    pr_nums = ['152', '874', '875', '883']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue16011'
    versions = ['Python 2.7', 'Python 3.5', 'Python 3.6', 'Python 3.7']

    Reactions are currently unavailable

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeend of lifedocsDocumentation in the Doc dirDocumentation in the Doc direasyinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        Morty Proxy This is a proxified and sanitized view of the page, visit original site.