GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Argument Clinic does not check the length of parameter descriptions · Issue #155228 · python/cpython Open Labels 3.16new features, bugs and security fixesnew features, bugs and security fixestopic-argument-clinictype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionBug reportThe docstring line length check is performed before the parameter descriptions are added to the docstring: max_width = f.docstring_line_width summary_len = len(lines[0]) max_body = max(map(len, lines[1:])) ... if not parameters_marker_count: lines.insert(2, '{parameters}') So a description of any length is accepted without a warning. 24 functions in the current tree have parameter description lines longer than the limit (the number of too long lines is in parentheses):
This is easy to miss for a cloned function, which inherits the descriptions of the function it clones: This is a leftover of #150285. Linked PRsActivity
MetadataMetadataAssigneesLabels3.16new features, bugs and security fixesnew features, bugs and security fixestopic-argument-clinictype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |