[lldb-dev] Deprecating Python2 and adding type-annotations to the python API

2020-08-03 Thread Nathan Lanza via lldb-dev
As a user of the lldb python scripting API I would love to see type annotations on the scripting APIs. I posted this diff the other day - https://reviews.llvm.org/D84269. Pavel commented that this would require deprecating python2 and that the recent 11.0 branch cut might make this a good time to d

Re: [lldb-dev] Deprecating Python2 and adding type-annotations to the python API

2020-08-03 Thread Jonas Devlieghere via lldb-dev
Hi Nathan, Thanks for bringing this up. I've been expecting this question for a while now. Python 2 is end-of-life and we should move to Python 3. I'm pretty sure nobody here disagrees with that. Unfortunately though, we still have consumers, both internally and externally, that still rely on it.