LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 24461 - Allow LLDB to support Python 3.5
Summary: Allow LLDB to support Python 3.5
Status: RESOLVED FIXED
Alias: None
Product: lldb
Classification: Unclassified
Component: All Bugs (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P normal
Assignee: LLDB commit list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-14 12:10 PDT by Zachary Turner
Modified: 2016-02-16 16:26 PST (History)
1 user (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zachary Turner 2015-08-14 12:10:21 PDT
In Bug 21920 a problem is described that makes Python very difficult to use on Windows.  Python 3.5 on Windows is implemented in such a way as to be forward compatible with future versions of Visual Studio.  As a result, we've decided that the best way forward is to allow LLDB to support Python 3.5.  Since there are already potentially hundreds of thousands of lines of Python code written against 2.7, we will need to do this in such a way that LLDB supports *both* Python 2.7 and Python 3.5+.

The biggest difficulty and pain point arising from this will be the need for the test suite and all specific tests to be written using a subset of Python that will work in both 2.7 and 3.5.

In order to ensure this requirement is met, part of this task will involve setting up at least two build bots: one that runs tests using 2.7 and another that runs tests using 3.5.