From kwrite-devel Mon Nov 11 17:41:40 2013 From: "Philipp A." Date: Mon, 11 Nov 2013 17:41:40 +0000 To: kwrite-devel Subject: Re: Switching to Python 3 Message-Id: X-MARC-Message: https://marc.info/?l=kwrite-devel&m=138419171423368 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1835980099348956976==" --===============1835980099348956976== Content-Type: multipart/alternative; boundary=089e0115f8fa9eae4904eaea3e0a --089e0115f8fa9eae4904eaea3e0a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable great :) besides, we=E2=80=99re worrying about nothing: python3 pep8.py - <<<"import sys; print >>sys.stderr, 'a', 'b'" python3 pep8.py - <<<"import sys; print('a', 'b', file=3Dsys.stderr)" both work! (if you=E2=80=99re wondering what that is, i=E2=80=99m inputting= python3 and python2 code to python3 pep8.py, which means there is no problem) who started that whole =E2=80=9Cpep8.py reports syntax errors when fed the = wrong python version=E2=80=9D, anyway? 2013/11/11 Sven Brauch > On Monday 11 November 2013 18:11:53 Philipp A. wrote: > > i don=E2=80=99t think that=E2=80=99s possible (c name/address space), a= nd it will make > our > > situation worse: not only will we have to continue to support both pyth= on > > versions of some plugins, but also (if we manage to do it at all), we= =E2=80=99ll > > have to support the linking of both, and we=E2=80=99ll have to depend o= n both. > and > > finally, i think using PyQt/PyKDE bindings to the same widgets from > > multiple places will create mayhem. > Yes, I agree, I retract the suggestion. ;) > --089e0115f8fa9eae4904eaea3e0a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
great :)

besides, we=E2= =80=99re worrying about nothing:

python3 pep8.py - <<<= ;"import sys; print >>sys.stderr, 'a', 'b'"=
python3 pep8.py - <<<"import sys; print('a', '= ;b', file=3Dsys.stderr)"

both work! (if you=E2=80=99re wondering what that is, i=E2=80=99m= inputting python3 and python2 code to python3 pep8.py, which means there i= s no problem)

who started that whole =E2=80=9Cpep8.py reports = syntax errors when fed the wrong python version=E2=80=9D, anyway?


2013/11= /11 Sven Brauch <svenbrauch@googlemail.com>
On Monday 11 November 2013 18:11:53 Philipp A. wrote:
> i don=E2=80=99t think that=E2=80=99s possible (c name/address space), = and it will make our
> situation worse: not only will we have to continue to support both pyt= hon
> versions of some plugins, but also (if we manage to do it at all), we= =E2=80=99ll
> have to support the linking of both, and we=E2=80=99ll have to depend = on both. and
> finally, i think using PyQt/PyKDE bindings to the same widgets from > multiple places will create mayhem.
Yes, I agree, I retract the suggestion. ;)

--089e0115f8fa9eae4904eaea3e0a-- --===============1835980099348956976== 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 --===============1835980099348956976==--