[all-commits] [llvm/llvm-project] db9811: Make lldbDataFormatters.py compatible with Python ...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Wed Feb 21 11:53:14 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db9811cd131d66c1c3dff0222fc8bcc83a555846
      https://github.com/llvm/llvm-project/commit/db9811cd131d66c1c3dff0222fc8bcc83a555846
  Author: Alexander Richardson <alexrichardson at google.com>
  Date:   2024-02-21 (Wed, 21 Feb 2024)

  Changed paths:
    M llvm/utils/lldbDataFormatters.py

  Log Message:
  -----------
  Make lldbDataFormatters.py compatible with Python 3.8 (#82518)

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`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list