GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test_xxtestfuzz emits DeprecationWarning · Issue #109098 · python/cpython

test_xxtestfuzz emits DeprecationWarning #109098

New issue
Copy link
New issue
Copy link
Closed
Closed
test_xxtestfuzz emits DeprecationWarning#109098
Copy link
Labels
3.11only security fixesonly security fixes3.12only security fixesonly security fixes3.13only security fixesonly security fixestestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@serhiy-storchaka
serhiy-storchaka
opened on Sep 7, 2023
Issue body actions

test_xxtestfuzz emits deprecation warnings about modules sre_compile and sre_constants which always were internal. It should use public non-deprecated API.

$ ./python -Wa -m test -v test_xxtestfuzz
...
test_sample_input_smoke_test (test.test_xxtestfuzz.TestFuzzer.test_sample_input_smoke_test)
This is only a regression test: Check that it doesn't crash. ... /home/serhiy/py/cpython/Lib/test/test_xxtestfuzz.py:13: DeprecationWarning: module 'sre_compile' is deprecated
  _xxtestfuzz.run(b"")
/home/serhiy/py/cpython/Lib/test/test_xxtestfuzz.py:13: DeprecationWarning: module 'sre_constants' is deprecated
  _xxtestfuzz.run(b"")
ok
...

cc @ssbr, @ammaraskar

Linked PRs

  • gh-109098: Fuzz re module instead of internal sre #109911
  • [3.12] gh-109098: Fuzz re module instead of internal sre (GH-109911) #109932
  • [3.11] gh-109098: Fuzz re module instead of internal sre (GH-109911) #109933

Activity

  1. serhiy-storchaka
    added
    testsTests in the Lib/test dirTests in the Lib/test dir
    on Sep 7, 2023
  2. serhiy-storchaka
    added
    3.11only security fixesonly security fixes
    3.12only security fixesonly security fixes
    3.13only security fixesonly security fixes
    on Sep 26, 2023
  3. serhiy-storchaka commented on Sep 26, 2023

    @serhiy-storchaka
    serhiy-storchaka
    on Sep 26, 2023
    MemberAuthor
    More actions

    cc @ammaraskar

    These tests should be either removed or rewritten using the public API.

  4. serhiy-storchaka
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Sep 26, 2023
  5. ammaraskar
    added 2 commits that reference this issue on Sep 26, 2023

    pythongh-109098: Fuzz re module instead of internal sre

    be5233d

    pythongh-109098: Fuzz re module instead of internal sre

    1e562d7
  6. gpshead
    added a commit that references this issue on Sep 26, 2023

    gh-109098: Fuzz re module instead of internal sre (#109911)

    a829356
  7. miss-islington
    added 2 commits that reference this issue on Sep 26, 2023

    pythongh-109098: Fuzz re module instead of internal sre (pythonGH-109911

    9577d79

    pythongh-109098: Fuzz re module instead of internal sre (pythonGH-109911

    7d9a97d
  8. gpshead commented on Sep 26, 2023

    @gpshead
    gpshead
    on Sep 26, 2023
    Member
    More actions

    I believe that PR should fix this. if not, please feel free to reopen. thanks for the PR and reviews!

  9. gpshead
    closed this as completedon Sep 26, 2023
  10. serhiy-storchaka
    added a commit that references this issue on Sep 27, 2023

    [3.11] gh-109098: Fuzz re module instead of internal sre (GH-109911) (G…

    8ed9bda
  11. serhiy-storchaka commented on Sep 27, 2023

    @serhiy-storchaka
    serhiy-storchaka
    on Sep 27, 2023
    MemberAuthor
    More actions

    Do not miss merging in 3.12 branch.

  12. serhiy-storchaka commented on Sep 27, 2023

    @serhiy-storchaka
    serhiy-storchaka
    on Sep 27, 2023
    MemberAuthor
    More actions

    @gpshead Please do no forgot to edit commit message. It contains a duplicate of the subject and intermediate commit messages.

    Reacted by Gregory P. Smith
  13. csm10495
    added a commit that references this issue on Sep 28, 2023

    pythongh-109098: Fuzz re module instead of internal sre (python#109911)

    6608db3
  14. Yhg1s
    added a commit that references this issue on Oct 2, 2023

    [3.12] gh-109098: Fuzz re module instead of internal sre (GH-109911) (#…

    95fd4ed
  15. Glyphack
    added a commit that references this issue on Sep 2, 2024

    pythongh-109098: Fuzz re module instead of internal sre (python#109911)

    c526a73
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.11only security fixesonly security fixes3.12only security fixesonly security fixes3.13only security fixesonly security fixestestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue 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.