<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 27, 2015 at 6:47 AM, Juan Jose Lopez Villarejo <span dir="ltr"><<a href="mailto:jj.lopezvillarejo@cern.ch" target="_blank">jj.lopezvillarejo@cern.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hello,<br>
<br>
I was wondering if someone else feels that Python3 should become eventually the standard for the clang python bindings, or perhaps offering support for the two of them (Python and Python3).<br>
<br>
I am the main author of the clang-based project Flowgen, "Flowchart-Based Documentation for C++ Codes.".<br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__jlopezvi.github.io_Flowgen_simple-5Fexample.html&d=AwMFAw&c=8hUWFZcy2Z-Za5rBPlktOQ&r=CnzuN65ENJ1H9py9XLiRvC_UQz6u3oG6GUNn7_wosSM&m=CLbt-9W9J50MLx6VfyILlCI2vSqDA13fagjcNHWboXA&s=on8iMUq47QXEWeg0WqdonQ8Y4QijTmAWUMUKpvUCd88&e=" target="_blank">http://jlopezvi.github.io/Flowgen/simple_example.html</a><br>
<br>
This project is running on old Python3 clang bindings.<br>
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_kennytm_clang-2Dcindex-2Dpython3&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=CnzuN65ENJ1H9py9XLiRvC_UQz6u3oG6GUNn7_wosSM&m=l4CHLJQcjTBVFkYgBW41kP8VYoypyK1pAuJqQqh52Xs&s=wGtcLdPvl6pVYkOfKWPQHd4w3jQT_G665rFcxDKxofk&e=" target="_blank">https://github.com/kennytm/clang-cindex-python3</a><br>
<br>
Today I had to apply my first fix in the cindex.py file to make Flowgen work with recent Mac Os. Someone else pointed out this fix by looking the analogue file at the official repository<br>
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_llvm-2Dmirror_clang&d=AwMFAw&c=8hUWFZcy2Z-Za5rBPlktOQ&r=CnzuN65ENJ1H9py9XLiRvC_UQz6u3oG6GUNn7_wosSM&m=CLbt-9W9J50MLx6VfyILlCI2vSqDA13fagjcNHWboXA&s=naDFY9OoBikrf2ymnFTUWC4y37eDtcNhXlw8YSQSKOE&e=" target="_blank">https://github.com/llvm-mirror/clang</a><br><br></div></div></blockquote><div><br></div><div>It's fairly common these days for Python library to be dual 2&3 compatible. I don't think there will be objections to someone sending a patch that will make cindex work with Python 3 too (in parallel with Python 2).</div><div><br></div><div>Eli</div><div><br></div><div><br></div><div><br></div></div></div></div>