re.finditer and re.findall should support negative end positions

Open
#52,188 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
api, backend

Research direction

Start by reviewing issue7940.patch and linked PR gh-107105, then inspect the existing re.finditer and re.findall implementation and documentation. Done means the two APIs consistently support negative end positions and the related behavior is documented.

Written by the indexing model from the issue text.

Description

3.9 (EOL) docs topic-regex type-feature
BPO 7940
Nosy @rhettinger, @ezio-melotti, @zware, @serhiy-storchaka, @anilbey
PRs
  • python/cpython#14744
  • Files
  • issue7940.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 = None
    closed_at = None
    created_at = <Date 2010-02-16.14:04:33.871>
    labels = ['type-feature', '3.9', 'docs']
    title = 're.finditer and re.findall should support negative end positions'
    updated_at = <Date 2019-09-09.16:55:47.901>
    user = 'https://bugs.python.org/tlynn'
    

    bugs.python.org fields:

    activity = <Date 2019-09-09.16:55:47.901>
    actor = 'serhiy.storchaka'
    assignee = 'docs@python'
    closed = False
    closed_date = None
    closer = None
    components = ['Documentation']
    creation = <Date 2010-02-16.14:04:33.871>
    creator = 'tlynn'
    dependencies = []
    files = ['30377']
    hgrepos = []
    issue_num = 7940
    keywords = ['patch']
    message_count = 15.0
    messages = ['99411', '99456', '189882', '189885', '190041', '190101', '190121', '347852', '347913', '347915', '347918', '347958', '347997', '351530', '351534']
    nosy_count = 9.0
    nosy_names = ['rhettinger', 'tlynn', 'timehorse', 'ezio.melotti', 'mrabarnett', 'docs@python', 'zach.ware', 'serhiy.storchaka', 'anilbey']
    pr_nums = ['14744']
    priority = 'low'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue7940'
    versions = ['Python 3.9']
    

    Linked PRs
    • gh-107105
    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.