Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py #79824

Closed
BoboTiG mannequin opened this issue Jan 2, 2019 · 5 comments
Closed

SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py #79824

BoboTiG mannequin opened this issue Jan 2, 2019 · 5 comments
Labels
3.7 (EOL) end of life 3.8 only security fixes extension-modules C modules in the Modules dir type-feature A feature request or enhancement

Comments

@BoboTiG
Copy link
Mannequin

BoboTiG mannequin commented Jan 2, 2019

BPO 35643
Nosy @benjaminp, @serhiy-storchaka, @miss-islington, @BoboTiG
PRs
  • bpo-35643: Fix a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py #11411
  • bpo-35643: Fix a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py #11411
  • [3.7] closes bpo-35643: Fix a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py (GH-11411) #11412
  • [3.7] closes bpo-35643: Fix a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py (GH-11411) #11412
  • [3.7] closes bpo-35643: Fix a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py (GH-11411) #11412
  • [3.6] closes bpo-35643: Fix a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py (GH-11411) #11413
  • [3.6] closes bpo-35643: Fix a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py (GH-11411) #11413
  • [3.6] closes bpo-35643: Fix a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py (GH-11411) #11413
  • 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 2019-01-02.19:41:14.577>
    created_at = <Date 2019-01-02.19:01:47.035>
    labels = ['extension-modules', '3.8', 'type-feature', '3.7']
    title = 'SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py'
    updated_at = <Date 2019-01-07.07:25:12.697>
    user = 'https://github.com/BoboTiG'

    bugs.python.org fields:

    activity = <Date 2019-01-07.07:25:12.697>
    actor = 'benjamin.peterson'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-01-02.19:41:14.577>
    closer = 'Tiger-222'
    components = ['Extension Modules']
    creation = <Date 2019-01-02.19:01:47.035>
    creator = 'Tiger-222'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 35643
    keywords = ['patch', 'patch']
    message_count = 5.0
    messages = ['332888', '332889', '332891', '332999', '333140']
    nosy_count = 4.0
    nosy_names = ['benjamin.peterson', 'serhiy.storchaka', 'miss-islington', 'Tiger-222']
    pr_nums = ['11411', '11411', '11412', '11412', '11412', '11413', '11413', '11413']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue35643'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    @BoboTiG
    Copy link
    Mannequin Author

    BoboTiG mannequin commented Jan 2, 2019

    This warning is emitted on Modules/_sha3/cleanup.py, line 11:

    SyntaxWarning: invalid escape sequence \
      CPP2 = re.compile("\ //(.*)")
    

    @BoboTiG BoboTiG mannequin added 3.8 only security fixes extension-modules C modules in the Modules dir type-feature A feature request or enhancement labels Jan 2, 2019
    @benjaminp
    Copy link
    Contributor

    New changeset d466c43 by Benjamin Peterson (Mickaël Schoentgen) in branch 'master':
    closes bpo-35643: Fix a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py (GH-11411)
    d466c43

    @BoboTiG BoboTiG mannequin added the 3.7 (EOL) end of life label Jan 2, 2019
    @BoboTiG BoboTiG mannequin reopened this Jan 2, 2019
    @BoboTiG BoboTiG mannequin closed this as completed Jan 2, 2019
    @miss-islington
    Copy link
    Contributor

    New changeset 6d04bc9 by Miss Islington (bot) in branch '3.7':
    closes bpo-35643: Fix a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py (GH-11411)
    6d04bc9

    @serhiy-storchaka
    Copy link
    Member

    Would not be better to just remove a backslash?

    @benjaminp
    Copy link
    Contributor

    New changeset 3e0144a by Benjamin Peterson (Miss Islington (bot)) in branch '3.6':
    closes bpo-35643: Fix a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py (GH-11413)
    3e0144a

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life 3.8 only security fixes extension-modules C modules in the Modules dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants