<meta http-equiv="content-type" content="text/html; charset=utf-8"><div></div><div>Hi,</div><div>The next major version (3.x) upgrade will not be on 2.7. I am not a dev (so don't quote me on that) but they are upgrading a number of libraries like QT.</div><div>Nicolas</div><div><br>Le 7 oct. 2016 à 18:43, JIA Pei [via <a href="http://OSGeo.org" target="_top" rel="nofollow" link="external">OSGeo.org</a>] <<a href="/user/SendEmail.jtp?type=node&node=5289852&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> a écrit :<br><br></div><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' type="cite"><div>

        <div dir="ltr"><div><br></div>Hi, all:<div><br></div><div>I tried to convert all python files from being compatible with python2 to being compatible with python3, with "2to3", but it still has a lot of the error messages as follows:</div><div><br></div><div><br></div><div><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #CCCCCC;padding:0 1em" class="gmail_quote"><span style="font-family:monospace"><span style="color:rgb(0,0,0)">RefactoringTool: Warnings/messages while refactoring:<br>
</span></span><span style="font-family:monospace">RefactoringTool: ### In file ./python/ext-libs/future/future/backports/email/charset.py ###<br>
</span><span style="font-family:monospace">RefactoringTool: Line 5: Calls to builtin next() possibly shadowed by global binding<br>
</span><span style="font-family:monospace">RefactoringTool: ### In file ./python/ext-libs/future/future/builtins/misc.py ###<br>
</span><span style="font-family:monospace">RefactoringTool: Line 104: Calls to builtin next() possibly shadowed by global binding<br>
</span><span style="font-family:monospace">RefactoringTool: ### In file ./python/ext-libs/future/future/moves/urllib/request.py ###<br>
</span><span style="font-family:monospace">RefactoringTool: Line 38: could not convert: from urllib import *<br>
</span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 38: could not convert: from urllib import *<br>
</span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 38: could not convert: from urllib import *<br>
</span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 38: could not convert: from urllib import *<br>
</span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 38: could not convert: from urllib import *<br>
</span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 38: could not convert: from urllib import *<br>
</span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 38: could not convert: from urllib import *<br>
</span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 38: could not convert: from urllib import *<br>
</span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 38: could not convert: from urllib import *<br>
</span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 38: could not convert: from urllib import *<br>
</span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 38: could not convert: from urllib import *<br>
</span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 38: could not convert: from urllib import *<br>
</span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 39: could not convert: from urllib2 import *
<br></span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 39: could not convert: from urllib2 import *
<br></span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 39: could not convert: from urllib2 import *
<br></span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 39: could not convert: from urllib2 import *
<br></span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 39: could not convert: from urllib2 import *
<br></span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 39: could not convert: from urllib2 import *
<br></span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 39: could not convert: from urllib2 import *
<br></span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 39: could not convert: from urllib2 import *
<br></span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 39: could not convert: from urllib2 import *
<br></span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 39: could not convert: from urllib2 import *
<br></span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 39: could not convert: from urllib2 import *
<br></span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: Line 39: could not convert: from urllib2 import *
<br></span><span style="font-family:monospace">RefactoringTool: Cannot handle star imports.<br>
</span><span style="font-family:monospace">RefactoringTool: ### In file ./python/ext-libs/jinja2/compiler.py ###<br>
</span><span style="font-family:monospace">RefactoringTool: Line 19: Calls to builtin next() possibly shadowed by global binding<br>
</span><span style="font-family:monospace">RefactoringTool: ### In file ./python/ext-libs/jinja2/ext.py ###<br>
</span><span style="font-family:monospace">RefactoringTool: Line 23: Calls to builtin next() possibly shadowed by global binding<br>
</span><span style="font-family:monospace">RefactoringTool: ### In file ./python/ext-libs/jinja2/filters.py ###<br>
</span><span style="font-family:monospace">RefactoringTool: Line 21: Calls to builtin next() possibly shadowed by global binding<br>
</span><span style="font-family:monospace">RefactoringTool: ### In file ./python/ext-libs/jinja2/lexer.py ###
<br></span><span style="font-family:monospace">RefactoringTool: Line 23: Calls to builtin next() possibly shadowed by global binding<br>
</span><span style="font-family:monospace">RefactoringTool: ### In file ./python/ext-libs/jinja2/nodes.py ###
<br></span><span style="font-family:monospace">RefactoringTool: Line 19: Calls to builtin next() possibly shadowed by global binding<br>
</span><span style="font-family:monospace">RefactoringTool: ### In file ./python/ext-libs/jinja2/parser.py ###<br>
</span><span style="font-family:monospace">RefactoringTool: Line 14: Calls to builtin next() possibly shadowed by global binding<br>
</span><span style="font-family:monospace">RefactoringTool: ### In file ./python/ext-libs/jinja2/runtime.py ###<br>
</span><span style="font-family:monospace">RefactoringTool: Line 17: Calls to builtin next() possibly shadowed by global binding<br>
</span><span style="font-family:monospace">RefactoringTool: ### In file ./python/ext-libs/jinja2/testsuite/api.py ###<br>
</span><span style="font-family:monospace">RefactoringTool: Line 17: Calls to builtin next() possibly shadowed by global binding<br>
</span><span style="font-family:monospace">RefactoringTool: ### In file ./python/ext-libs/jinja2/testsuite/ext.py ###<br>
</span><span style="font-family:monospace">RefactoringTool: Line 20: Calls to builtin next() possibly shadowed by global binding<br>
</span><span style="font-family:monospace">RefactoringTool: ### In file ./python/ext-libs/jinja2/testsuite/lexnparse.py ###<br>
</span><span style="font-family:monospace">RefactoringTool: Line 17: Calls to builtin next() possibly shadowed by global binding<br>
</span><span style="font-family:monospace">RefactoringTool: ### In file ./python/ext-libs/jinja2/_compat.py ###<br>
</span><span style="font-family:monospace">RefactoringTool: Line 86: Calls to builtin next() possibly shadowed by global binding<br>
</span><span style="font-family:monospace">RefactoringTool: ### In file ./python/ext-libs/requests/packages/urllib3/packages/six.py ###<br>
</span><span style="font-family:monospace">RefactoringTool: Line 232: Calls to builtin next() possibly shadowed by global binding<br>
</span><span style="font-family:monospace">RefactoringTool: ### In file ./python/ext-libs/six.py ###<br>
</span><span style="font-family:monospace">RefactoringTool: Line 525: Calls to builtin next() possibly shadowed by global binding<br>
</span><span style="font-family:monospace">RefactoringTool: ### In file ./python/plugins/db_manager/dlg_sql_layer_window.py ###<br>
</span><span style="font-family:monospace">RefactoringTool: Line 25: Calls to builtin next() possibly shadowed by global binding<br>
</span><span style="font-family:monospace">RefactoringTool: ### In file ./python/plugins/db_manager/dlg_sql_window.py ###<br>
</span><span style="font-family:monospace">RefactoringTool: Line 25: Calls to builtin next() possibly shadowed by global binding<br>
</span><span style="font-family:monospace">RefactoringTool: ### In file ./tests/src/python/test_provider_postgres.py ###<br>
</span><span style="font-family:monospace">RefactoringTool: Line 9: Calls to builtin next() possibly shadowed by global binding<br>
</span><span style="font-family:monospace">RefactoringTool: ### In file ./tests/src/python/test_qgsvectorfilewriter.py ###<br>
</span><span style="font-family:monospace">RefactoringTool: Line 9: Calls to builtin next() possibly shadowed by global binding<br>
</span><span style="font-family:monospace">RefactoringTool: There were 4 errors:<br>
</span><span style="font-family:monospace">RefactoringTool: Can't parse ./python/ext-libs/future/future/backports/http/client.py: ParseError: bad input: type=22, value=u'=', context=('', (395, 41))<br>
</span><span style="font-family:monospace">RefactoringTool: Can't parse ./python/ext-libs/future/future/backports/test/support.py: ParseError: bad input: type=22, value=u'=', context=('', (909, 41))<br>
</span><span style="font-family:monospace">RefactoringTool: Can't parse ./scripts/parse_dash_results.py: ParseError: bad input: type=1, value=u'exec', context=('', (354, 6))<br>
</span><span style="font-family:monospace">RefactoringTool: Can't parse ./tests/src/python/qgis_wrapped_server.py: ParseError: bad input: type=22, value=u'=', context=('', (105, 55))</span></blockquote><span style="font-family:monospace">
<br></span></div><div><br></div><div><br></div><div>Is there a plan to convert qgis to be fully compatible with python3???</div><div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><br></div><div>Pei JIA, Ph.D.</div><div><br></div><div>Email: <a href="/user/SendEmail.jtp?type=node&node=5289851&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a></div><div>cell in Canada:    +1 778-863-5816</div><div>cell in China: +86 186-8244-3503</div><div><br></div>Welcome to Vision Open<br><a href="http://www.visionopen.com" target="_blank" rel="nofollow" link="external">http://www.visionopen.com</a></div></div>
</div></div>
<br>_______________________________________________
<br>Qgis-user mailing list
<br><a href="/user/SendEmail.jtp?type=node&node=5289851&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br>List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>

        
        
        
        <br>
        <br>
        <hr noshade="noshade" size="1" color="#cccccc">
        <div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1560.x6.nabble.com/Python3-support-of-qgis-tp5289851.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/Python3-support-of-qgis-tp5289851.html</a>
        </div>
        <div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                To start a new topic under Quantum GIS - User, email <a href="/user/SendEmail.jtp?type=node&node=5289852&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a> <br>
                To unsubscribe from Quantum GIS - User, <a href="" target="_top" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a>
        </div></div></blockquote>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Python3-support-of-qgis-tp5289851p5289852.html">Re: Python3 support of qgis...</a><br/>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html">Quantum GIS - User mailing list archive</a> at Nabble.com.<br/>