eliben / pycparser

:snake: Complete C99 parser in pure Python
Other
3.26k stars 612 forks source link

Add support for CPython 3.11 #468

Closed erlend-aasland closed 2 years ago

erlend-aasland commented 2 years ago

Python 3.11-rc1 was just released. Final release is due in early October.

See PEP-664

eliben commented 2 years ago

Could you clarify what you mean by "add support for CPython 3.11"?

Did you try it with the RC and encounter issues?

erlend-aasland commented 2 years ago

Sorry for not being clear. What I meant was that it would be nice if Python 3.11 was added to the list of supported Python versions. I have not encountered issues with the RC.

eliben commented 2 years ago

Still not quite sure what that line in setup.py actually means if the code works fine -- maybe it's just a way to mark it on PyPI? It seems odd that every time a new Python version is out - all the millions of Python packages out there have to be updated to mark their "support".

In any case, this change is harmless and I don't have anything against it -- will wait until 3.11 is actually released though (and at that point add it to the CI as well)

erlend-aasland commented 2 years ago

🏓 Python 3.11 was released yesterday.