Skip to content

Commit 9900535

Browse files
Update modules removed in Python 3.15 (#361)
1 parent c979aa3 commit 9900535

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/sources/python-modules.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,12 @@
241241
'annotationlib',
242242
])
243243

244+
# https://docs.python.org/3.15/whatsnew/3.15.html
245+
if sys.version_info >= (3, 15):
246+
standard_library.remove('sre_compile')
247+
standard_library.remove('sre_constants')
248+
standard_library.remove('sre_parse')
249+
244250
# Remove tkinter and Easter eggs
245251
excluded_modules = [
246252
'antigravity',

0 commit comments

Comments
 (0)