Space in re's {min,max} should raise an error, rather than fail silently
Open
Nobody has claimed this yet.
3.10
topic-regex
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 42469 |
|---|---|
| Nosy | @rhettinger, @terryjreedy, @ezio-melotti, @serhiy-storchaka, @reuven, @akulakov |
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 = None
created_at = <Date 2020-11-26.07:09:54.395>
labels = ['expert-regex', 'type-bug', '3.10']
title = "Space in re's {min,max} should raise an error, rather than fail silently"
updated_at = <Date 2021-07-17.14:52:02.804>
user = 'https://github.com/reuven'
bugs.python.org fields:
activity = <Date 2021-07-17.14:52:02.804>
actor = 'andrei.avk'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Regular Expressions']
creation = <Date 2020-11-26.07:09:54.395>
creator = 'reuven'
dependencies = []
files = []
hgrepos = []
issue_num = 42469
keywords = []
message_count = 5.0
messages = ['381879', '381919', '381994', '382045', '397725']
nosy_count = 7.0
nosy_names = ['rhettinger', 'terry.reedy', 'ezio.melotti', 'mrabarnett', 'serhiy.storchaka', 'reuven', 'andrei.avk']
pr_nums = []
priority = 'low'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue42469'
versions = ['Python 3.10']
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the behavior through Python's re entry point, comparing patterns with and without spaces in {min,max}. Trace the Regular Expressions component to identify where the pattern is accepted silently, then add coverage showing that the invalid form raises an error; no source file or test path is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100