Skip to content

Possible OverflowError in __len__ method undocumented (when called via len() function) #59923

@RostyslavDzinko

Description

@RostyslavDzinko
BPO 15718
Nosy @birkenfeld, @terryjreedy, @vstinner, @benjaminp, @vadmium, @serhiy-storchaka
PRs
  • bpo-15718: Document the upper bound constrain on __len__ return value. #1256
  • [3.6] bpo-15718: Document the upper bound constrain on the __len__ re… #1259
  • [3.5] bpo-15718: Document the upper bound constrain on the __len__ re… #1260
  • [2.7] bpo-15718: Document the upper bound constrain on the __len__ re… #1261
  • bpo-12159: document sys.maxsize limit in len() function reference #17934
  • 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-04-23.07:12:39.378>
    created_at = <Date 2012-08-17.11:17:58.311>
    labels = ['type-bug', '3.7', 'docs']
    title = 'Possible OverflowError in __len__ method undocumented (when called via len() function)'
    updated_at = <Date 2020-01-10.12:13:55.063>
    user = 'https://bugs.python.org/RostyslavDzinko'

    bugs.python.org fields:

    activity = <Date 2020-01-10.12:13:55.063>
    actor = 'Zac Hatfield-Dodds'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2017-04-23.07:12:39.378>
    closer = 'serhiy.storchaka'
    components = ['Documentation']
    creation = <Date 2012-08-17.11:17:58.311>
    creator = 'Rostyslav.Dzinko'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 15718
    keywords = []
    message_count = 10.0
    messages = ['168439', '168473', '257312', '257318', '292123', '292125', '292151', '292152', '292153', '292154']
    nosy_count = 10.0
    nosy_names = ['georg.brandl', 'terry.reedy', 'vstinner', 'benjamin.peterson', 'Arfrever', 'docs@python', 'martin.panter', 'serhiy.storchaka', 'Rostyslav.Dzinko', 'Winterflower']
    pr_nums = ['1256', '1259', '1260', '1261', '17934']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue15718'
    versions = ['Python 2.7', 'Python 3.5', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifedocsDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions