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

Make lldbDataFormatters.py compatible with Python 3.8 #82518

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

arichardson
Copy link
Member

I just tried to load this into LLDB built against Python 3.8.5 and got the following error: TypeError: 'type' object is not subscriptable. I could fix this by wrapping the annotations in quotes but since Python 3.7 this syntax can be enabled with from __future__ import annotations.

I just tried to load this into LLDB built against Python 3.8.5 and got
the following error: `TypeError: 'type' object is not subscriptable`.
I could fix this by wrapping the annotations in quotes but since Python
3.7 this syntax can be enabled with `from __future__ import annotations`.
Copy link
Contributor

@kastiglione kastiglione left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems reasonable to me

Copy link
Member

@bulbazord bulbazord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@arichardson arichardson merged commit db9811c into llvm:main Feb 21, 2024
5 checks passed
@arichardson arichardson deleted the pr-lldb-formatters-py38 branch February 21, 2024 19:53
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

Successfully merging this pull request may close these issues.

None yet

3 participants