From kwrite-devel Mon Nov 11 12:41:24 2013 From: =?ISO-8859-1?Q?J=2E_Pablo_Mart=EDn_Cobos?= Date: Mon, 11 Nov 2013 12:41:24 +0000 To: kwrite-devel Subject: Re: Switching to Python 3 Message-Id: X-MARC-Message: https://marc.info/?l=kwrite-devel&m=138418996817981 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============5849256378095534900==" --===============5849256378095534900== Content-Type: multipart/alternative; boundary=f46d043be180c9ea2804eae60cf0 --f46d043be180c9ea2804eae60cf0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 2013/11/11 Philipp A. > 2013/11/11 J. Pablo Mart=EDn Cobos > >> Only a thing, if we do it, we have to understand that the python 2 >> developers (it's possible) will use another editor. Because the pep8, >> pyflakes and parse syntax checker will report errors, because the syntax= is >> different in python 2 and python 3. >> > > why are you always insisting that everything will immediately make people > switch editors? i don=92t switch kate for something else because there ar= e > minor bugs. everything has minor bugs. > Because if I use an editor, with a plugins and these does not work when I update it... I search another editor. > > that being said, if you can=92t run pep8.py with python3 to check a pytho= n2 > script, that=92s a bug in pep8.py. and furthermore, no matter how kate=92= s > compiled, it=92ll affect people: > > This does not a pep8 bug... :-( > if kate is compiled with python 3 (like on arch), people can=92t run pep8= .py > on python 2 scripts (as you said), but > if kate is compiled with python 2 (like on ubuntu), people can=92t run > pep8.py on python 3 scripts. > > Yes is true, but if you use normally python 2, your default version will be python 2 and if you use normally python 3, your default version will be python 3... For me the debate is finished... but only I want that you see the consequences... > so no matter how, pep8.py has a bug that affects some kate users. file it > if nobody has filed it before, and/or help them fix it. > > _______________________________________________ > KWrite-Devel mailing list > KWrite-Devel@kde.org > https://mail.kde.org/mailman/listinfo/kwrite-devel > > --f46d043be180c9ea2804eae60cf0 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
2013/11/11 Philipp A. <flying-sheep@web.de>
2013/11/11 J. Pablo Mart=EDn Cobos <goinnn@gmail.com><= /span>
Only a thing, if we do it, we have to understand that= the python 2 developers (it's possible) will use another editor. Becau= se the pep8, pyflakes and parse syntax checker will report errors, because = the syntax is different in python 2 and python 3.

why are you always insisting t= hat everything will immediately make people switch editors? i don=92t switc= h kate for something else because there are minor bugs. everything has mino= r bugs.

Because if I use a= n editor, with a plugins and these does not work when I update it... I sear= ch another editor.
=A0

that being said, if you can=92t run pep8.py with python3 to = check a python2 script, that=92s a bug in pep8.py. and furthermore, no matt= er how kate=92s compiled, it=92ll affect people:

<= /div>

This does not a pep8 bug... :-(
<= div>=A0
if kate is compiled with python 3 (like on arch), people can=92t run pep8.= py on python 2 scripts (as you said), but
if kate is compiled with python 2 (like on ubuntu), people can=92t run pep8= .py on python 3 scripts.

<= br>
Yes is true, but if you use normally python 2, your defa= ult version will be python 2 and if you use normally python 3, your default= version will be python 3...

For me the=A0debate is finished... but only I wan= t that you see the=A0consequences...=A0

=A0
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;pa= dding-left:1ex">
so no matter how, pep8.py has a bug that affects some kate user= s. file it if nobody has filed it before, and/or help them fix it.

_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel


--f46d043be180c9ea2804eae60cf0-- --===============5849256378095534900== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KWrite-Devel mailing list KWrite-Devel@kde.org https://mail.kde.org/mailman/listinfo/kwrite-devel --===============5849256378095534900==--