Skip to content
This repository was archived by the owner on Dec 21, 2025. It is now read-only.

Fix testyacc.py to work with Python 3.15 - #318

Open
spotaws wants to merge 1 commit into
dabeaz:masterfrom
spotaws:fix315
Open

Fix testyacc.py to work with Python 3.15#318
spotaws wants to merge 1 commit into
dabeaz:masterfrom
spotaws:fix315

Conversation

@spotaws

@spotaws spotaws commented Dec 18, 2025

Copy link
Copy Markdown

cache_from_source(), from importlib.util, is now strict about enforcing only valid args in Python 3.15. This is appropriately conditionalized in testlex.py, but not in testyacc.py.

Note: I did not add support for the optional optimization parameter in testyacc.py, because I don't think it matters too much here, but it would be straightforward to do so if I'm wrong.

Signed-off-by: Tom spot Callaway <spotaws@amazon.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants