[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: Switching to Python 3
From:       "Philipp A." <flying-sheep () web ! de>
Date:       2013-11-11 17:41:40
Message-ID: CAN8d9gkMJJr4W4A6zP=dnm-XFzmvdcYKJPU1NftyzEQczt9qRg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


great :)

besides, we're worrying about nothing:

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

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

who started that whole "pep8.py reports syntax errors when fed the wrong
python version", anyway?


2013/11/11 Sven Brauch <svenbrauch@googlemail.com>

> On Monday 11 November 2013 18:11:53 Philipp A. wrote:
> > i don't think that's possible (c name/address space), and it will make
> our
> > situation worse: not only will we have to continue to support both python
> > versions of some plugins, but also (if we manage to do it at all), we'll
> > have to support the linking of both, and we'll 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. ;)
>

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div><div>great :)<br><br></div>besides, we're worrying \
about nothing:<br><br></div>python3 pep8.py - &lt;&lt;&lt;&quot;import sys; print \
&gt;&gt;sys.stderr, &#39;a&#39;, &#39;b&#39;&quot;<br>python3 pep8.py - \
&lt;&lt;&lt;&quot;import sys; print(&#39;a&#39;, &#39;b&#39;, \
file=sys.stderr)&quot;<br> <br></div>both work! (if you're wondering what that is, \
i'm inputting python3 and python2 code to python3 pep8.py, which means there is no \
problem)<br><br></div>who started that whole "pep8.py reports syntax errors when fed \
the wrong python version", anyway?<br> </div><div class="gmail_extra"><br><br><div \
class="gmail_quote">2013/11/11 Sven Brauch <span dir="ltr">&lt;<a \
href="mailto:svenbrauch@googlemail.com" \
target="_blank">svenbrauch@googlemail.com</a>&gt;</span><br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> <div class="im">On Monday 11 November 2013 18:11:53 Philipp \
A. wrote:<br> &gt; i don't think that's possible (c name/address space), and it will \
make our<br> &gt; situation worse: not only will we have to continue to support both \
python<br> &gt; versions of some plugins, but also (if we manage to do it at all), \
we'll<br> &gt; have to support the linking of both, and we'll have to depend on both. \
and<br> &gt; finally, i think using PyQt/PyKDE bindings to the same widgets from<br>
&gt; multiple places will create mayhem.<br>
</div>Yes, I agree, I retract the suggestion. ;)<br>
</blockquote></div><br></div>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic