Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Fix DEBUG output for atomic group #106510

Closed
Closed
Labels
3.11only security fixes3.12only security fixes3.13bugs and security fixestopic-regextype-featureA feature request or enhancement
@serhiy-storchaka

Description

@serhiy-storchaka

It missed my attention that DEBUG output is not specialized for atomic groups (added in#34627). For example:

>>> re.compile('(?>ab?)', re.DEBUG)ATOMIC_GROUP [(LITERAL, 97), (MAX_REPEAT, (0, 1, [(LITERAL, 98)]))]...

The correct output should show the decoded structure of the subpattern:

>>> re.compile('(?>ab?)', re.DEBUG)ATOMIC_GROUP  LITERAL 97  MAX_REPEAT 0 1    LITERAL 98...

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.11only security fixes3.12only security fixes3.13bugs and security fixestopic-regextype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp