Skip to content
  • Hans Wennborg's avatar
    Merging r292247: · 3a631d56
    Hans Wennborg authored
    ------------------------------------------------------------------------
    r292247 | jbcoe | 2017-01-17 12:03:54 -0800 (Tue, 17 Jan 2017) | 14 lines
    
    Fix Python 3 language issues and add an explicit check for Python version == 2.
    
    Summary:
    Python bindings cannot support Python 3 without work being done to fix Unicode c-string conversion.
    
    This was attempted in https://reviews.llvm.org/D26082. That patch was reverted due to memory access issues on Linux.
    
    This revision fixes enough language compatibility issues for the clang module to be loaded and raise an error if the Python version is not 2.
    
    Reviewers: mgorny, MathieuDuponchelle, rengolin, compnerd
    
    Reviewed By: compnerd
    
    Differential Revision: https://reviews.llvm.org/D28682
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@292339 91177308-0d34-0410-b5e6-96231b3b80d8
    3a631d56