You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
...
Activity
serhiy-storchaka commentedon Sep 26, 2023
cc @ammaraskar
These tests should be either removed or rewritten using the public API.
pythongh-109098: Fuzz re module instead of internal sre
pythongh-109098: Fuzz re module instead of internal sre
gh-109098: Fuzz re module instead of internal sre (#109911)
pythongh-109098: Fuzz re module instead of internal sre (pythonGH-109911
pythongh-109098: Fuzz re module instead of internal sre (pythonGH-109911
gpshead commentedon Sep 26, 2023
I believe that PR should fix this. if not, please feel free to reopen. thanks for the PR and reviews!
[3.11] gh-109098: Fuzz re module instead of internal sre (GH-109911) (G…
serhiy-storchaka commentedon Sep 27, 2023
Do not miss merging in 3.12 branch.
serhiy-storchaka commentedon Sep 27, 2023
@gpshead Please do no forgot to edit commit message. It contains a duplicate of the subject and intermediate commit messages.
pythongh-109098: Fuzz re module instead of internal sre (python#109911)
[3.12] gh-109098: Fuzz re module instead of internal sre (GH-109911) (#…
pythongh-109098: Fuzz re module instead of internal sre (python#109911)