[Lldb-commits] [PATCH] D59579: Use list comprehension instead of map/filter to prepare Python2/3 compat
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 20 05:25:27 PDT 2019
labath accepted this revision.
labath added a comment.
This revision is now accepted and ready to land.
I think this should be fine, modulo the typo. TBH, I was not even aware some of these files existed. The ones that are already used by people on a daily basis should by already python3-ready.
================
Comment at: lldb/utils/lui/lldbutil.py:729
- return map(GetPCAddress, range(thread.GetNumFrames()))
+ return [GetPCAddress(i) for in in range(thread.GetNumFrames())]
----------------
typo (`in in`)
Repository:
rLLDB LLDB
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59579/new/
https://reviews.llvm.org/D59579
More information about the lldb-commits
mailing list