Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support latest Python versions #314

Open
cretz opened this issue Jul 6, 2022 · 1 comment
Open

Support latest Python versions #314

cretz opened this issue Jul 6, 2022 · 1 comment

Comments

@cretz
Copy link

cretz commented Jul 6, 2022

I noticed README says:

Boltons is tested against [...] CPython nightly

But I cannot find where this test occurs. There seem to be no 3.10 test runs or CPython nightly test runs. My concern is the traceback string format has changed in 3.11 so the parser may not work as is.

@mahmoud
Copy link
Owner

mahmoud commented Feb 20, 2023

A very valid concern!

I just updated the CI to test against 3.11, but that won't help. The traceback parser is almost certainly out-of-date for newer versions, unfortunately. The tests still pass because frankly they're too simple: https://github.com/mahmoud/boltons/blob/master/tests/test_tbutils_parsed_exc.py

I'd gladly accept more tests or an updated parser. The code is pretty straightforward over here:

class ParsedException(object):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants